diff options
| author | Dave Arter <davea@mysociety.org> | 2016-09-13 17:17:23 +0100 |
|---|---|---|
| committer | Dave Arter <davea@mysociety.org> | 2016-09-20 16:07:32 +0100 |
| commit | 9bc2476861811163663b45cac41a2e91273576ed (patch) | |
| tree | 26ada3a90213334dfbc1f5e6ef6e6d1e9a800878 /perllib/FixMyStreet/Cobrand/Default.pm | |
| parent | b01df0c7609a1d6c008b943a9936d471cf0e0ce3 (diff) | |
Add ‘trusted’ flag allowing users to make reports directly
When a trusted user makes a report in a category that requires inspection, it'll
be sent immediately (i.e. without being inspected first).
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
| -rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 47e577372..2b27a8891 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -720,6 +720,12 @@ sub available_permissions { planned_reports => _("Manage planned reports list"), contribute_as_another_user => _("Create reports/updates on a user's behalf"), contribute_as_body => _("Create reports/updates as the council"), + + # NB this permission is special in that it can be assigned to users + # without their from_body being set. It's included here for + # reference, but left commented out because it's not assigned in the + # same way as other permissions. + # trusted => _("Trusted to make reports that don't need to be inspected"), }, _("Users") => { user_edit => _("Edit other users' details"), |
