From 089fbdd8d5a9dc91dd975358f35bfae563c62d49 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 18 Oct 2017 12:01:19 +0100 Subject: Tidy up report page permission checkings. --- perllib/FixMyStreet/App/Controller/Moderate.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'perllib/FixMyStreet/App/Controller/Moderate.pm') diff --git a/perllib/FixMyStreet/App/Controller/Moderate.pm b/perllib/FixMyStreet/App/Controller/Moderate.pm index 42dc759e5..4d3a97fa8 100644 --- a/perllib/FixMyStreet/App/Controller/Moderate.pm +++ b/perllib/FixMyStreet/App/Controller/Moderate.pm @@ -21,10 +21,7 @@ data to change. (Authentication requires: - user to be from_body - - user to have a "moderate" record in user_body_permissions (there is - currently no admin interface for this. Should be added, but - while we're trialing this, it's a simple case of adding a DB record - manually) + - user to have a "moderate" record in user_body_permissions The original data of the report is stored in moderation_original_data, so that it can be reverted/consulted if required. All moderation events are -- cgit v1.2.3