ORIENT/modules/backend/controllers
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
..
accesslogs Adds a refresh button to log pages, minor column tweaks 2015-11-28 11:10:06 +11:00
auth Enable configuration of backend login session persistence (#2924) 2017-06-22 14:34:16 -06:00
index Translate the Loading message 2016-07-28 09:15:12 +02:00
preferences URL -> Url 2017-06-02 23:34:50 +10:00
usergroups Introduce concept of system roles 2017-07-13 19:29:50 +10:00
userroles Introduce concept of system roles 2017-07-13 19:29:50 +10:00
users Introduce concept of system roles 2017-07-13 19:29:50 +10:00
AccessLogs.php Code doc improvements 2017-07-27 17:35:14 +10:00
Auth.php Code doc improvements 2017-07-27 17:35:14 +10:00
Files.php Code dusting (#2826) 2017-04-24 21:38:19 +10:00
Index.php Code doc improvements 2017-07-27 17:35:14 +10:00
Preferences.php Code doc improvements 2017-07-27 17:35:14 +10:00
UserGroups.php Code doc improvements 2017-07-27 17:35:14 +10:00
UserRoles.php Code doc improvements 2017-07-27 17:35:14 +10:00
Users.php Improve support for three tier user system 2017-10-14 00:25:52 -06:00