Commits

Roger Haase committed fded75e

Fixes #415, any logged in user can access trash by typing localhost:8080/+admin/all/trash; thanks kumar risabh

Comments (0)

Files changed (1)

MoinMoin/apps/admin/views.py

 
 @admin.route('/trash', defaults=dict(namespace=NAMESPACE_DEFAULT), methods=['GET'])
 @admin.route('/<namespace>/trash')
+@require_permission(SUPERUSER)
 def trash(namespace):
     """
     Returns the trashed items.