diff options
author | Dave Arter <davea@mysociety.org> | 2016-08-02 17:32:50 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-08-17 15:35:42 +0100 |
commit | 4eb4658ad589d01d58b239993e201c47325a2eb4 (patch) | |
tree | b679f70a78d16ebf035cd395c914ea06865a6732 /t/app/controller/admin_permissions.t | |
parent | 91c5520c7078f2caa3cbdbdcff4f86a29d9d7390 (diff) |
Restrict from_body editing to superusers
Superusers can set a user's from_body to any value, but a normal staff user
can only set another user's from_body to the same as their own or undefined.
This is presented in the UI as a 'staff' tickbox.
Diffstat (limited to 't/app/controller/admin_permissions.t')
0 files changed, 0 insertions, 0 deletions