ORIENT/modules/backend
Luke Towers fa840d79f6 Improve support for three tier user system
This builds on 4fd1ca824f by switching from a two tier approach to permissions (superusers and regular users), to a three tier approach (superusers (developer), second-in-command (clients with manage_users permissions), and regular users). If support for a four tier approach is necessary (Superuser, Franchise Owner, Franchise Business Manager, Franchise Staff as an example), then it can be implemented simply by adding a flag to roles that would prevent anyone except for a superuser from assigning that role.

The specific changes made by this commit is to support users with the manage_users permission (but who are not superusers) to be able to assign roles to other users and improvements to the sanctity of the superuser itself. Non-superusers can no longer see or edit superusers in the backend (that was previously poorly handled as a non-superuser with manage_users could take over a superuser account since they could modify that account willy-nilly), and the is_superuser filter is accordingly removed as well.
2017-10-14 00:25:52 -06:00
..
assets Add ignoreTimezone option to datepicker field and column types. 2017-09-10 22:39:15 -06:00
behaviors Add return statement to listExtendRecords event (#3153) 2017-10-04 14:05:05 -06:00
classes Field definition should override magic 2017-09-13 14:29:42 +10:00
controllers Improve support for three tier user system 2017-10-14 00:25:52 -06:00
database Introduce concept of system roles 2017-07-13 19:29:50 +10:00
facades Code dusting (#2826) 2017-04-24 21:38:19 +10:00
formwidgets Update _repeater_item.htm (#3149) 2017-10-03 10:15:29 -06:00
helpers Add ignoreTimezone option to datepicker field and column types. 2017-09-10 22:39:15 -06:00
lang Typo (#3146) 2017-10-03 00:30:27 -06:00
layouts Add translation for "Signed in as" (#3018) 2017-08-04 13:17:49 -06:00
models Rollback 510071550a 2017-09-17 10:14:14 +10:00
reportwidgets {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
skins {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
traits Create an error making trait 2017-06-11 22:38:03 +10:00
views Change to mail partial syntax 2017-07-26 17:48:00 +10:00
widgets Account for NestedTree Trait setting (#3143) 2017-10-04 14:04:12 -06:00
ServiceProvider.php Introduce mail partials + twig 2017-07-19 21:14:08 +10:00
composer.json Fixes #3081. Resets module dependencies from dev to stable. Refs 081a32c928 2017-09-04 12:40:55 -06:00
routes.php Apply web middleware group for the good cookies 2017-05-13 22:18:13 +10:00