34 Commits

Author SHA1 Message Date
Samuell
b63a39b106
Add missing import (#5101) 2020-06-01 10:42:15 -06:00
Ashleigh Sims
439ed2cc33
Unsuspend a backend user from user update screen (#5032) 2020-04-07 13:22:41 -06:00
Luke Towers
a1e6849a71 Implemented easy impersonation of backend users controlled by the backend.impersonate_users permission 2019-05-09 10:36:46 -06:00
Luke Towers
8f5ff1be5a Support groups field being removed 2019-02-25 13:21:33 -06:00
Luke Towers
54a67ca556 Implemented soft deleting for backend users 2018-12-17 23:09:17 -06:00
Luke Towers
69e56b0b5b
Fixes #3315
Fixes #3315 by moving the manipulation of the filter widget scopes to the controller event method instead of before any part of the controller constructor method is run.
2017-12-28 13:21:00 -06:00
Luke Towers
f739e457e4 Enable superusers to actually use the is_superuser filter 2017-10-14 21:55:56 -06:00
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
Samuel Georges
a5377b5018 Replace missing permissions 2017-07-28 00:05:35 +10:00
Samuel Georges
9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +10:00
Samuel Georges
4fd1ca824f Introduce concept of system roles
These are roles defined by a special API code, once a system role code is detected, the role becomes locked and its permissions are sourced from the AuthManager. All permissions are granted to system roles by default, unless otherwise specified. This should make it easier to create client accounts as "Publishers", hiding developer tools like the CMS and Builder plugins by default.
2017-07-13 19:29:50 +10:00
alekseybobkov
a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Pásztor Gábor
31457bd2ee Cleanup 2016-01-15 10:20:57 +01:00
Samuel Georges
2ced2f8c73 Move the superuser flag out of permissions array - fixes #1503 2015-11-28 10:21:41 +11:00
Dave Shoreman
cac8b54e87 Remove superuser field for non-superusers
If an admin user has permission to manage other users, they are
able to set others as superuser, or even create their own
superuser account. That's not really what we want.
2015-09-26 00:34:12 +01:00
Samuel Georges
9812e1f4ec Fix protection level on formExtendFields
Improve styling on collapsible sections
2015-09-10 20:42:24 +10:00
Samuel Georges
a1291c3716 Restyle Administrator pages 2015-05-21 22:55:08 +10:00
Samuel Georges
7145aac457 Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
Samuel Georges
0a6e14f4d2 Popup control now supports several sizes via data-size attribute: giant, huge, large, small, tiny.
Fixes various bugs in RC version
2015-02-11 14:36:00 +11:00
Samuel Georges
e3dae22758 Back-end user groups can now be marked to add new administrators by default
Streamline naming of backend user groups
Add description field to backend user group table
2014-12-16 12:39:38 +11:00
Stefan Talen
06890d711a Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/UserPreferencesModel.php
	modules/cms/classes/Controller.php
	modules/system/classes/CombineAssets.php
2014-10-16 18:44:18 +02:00
Sam Georges
9f5646d273 BackendSettings -> BrandSettings
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +11:00
Stefan Talen
92aa3fc18d Updating backend/controllers 2014-10-10 23:26:57 +02:00
Sam Georges
2c4317f8f2 Allow API to override login Attribute 2014-10-08 18:54:45 +11:00
Sam Georges
7beafebf7c getClassExtension -> asExtension (shorter syntax) 2014-08-23 09:41:48 +10:00
Paul Wilde
a3c94d6355 Escape unescaped translations. Add trans() function during output for the Balloon and Widget Selector. 2014-08-12 21:46:19 +01:00
Paul Wilde
1d038d3173 More translation strings. 2014-08-12 01:15:38 +01:00
alekseybobkov
7eed305000 Updated the settings pages UX 2014-07-27 15:07:22 +11:00
alekseybobkov
98eb3e2e84 System page navigation improvements, not finished 2014-07-24 15:19:00 +11:00
Sam Georges
826b0bf9d3 Typo 2014-07-12 18:46:29 +10:00
Sam Georges
b121e03608 Fixes a bug when editing My Account 2014-07-12 18:45:13 +10:00
Sam Georges
ddb6337efe EditorSettings -> EditorPreferences (System has settings, User has preferences, App has configuration)
Create a My Settings page, now linked when clicking a User
Create backend preferences form for setting locale
Dropdown options now support an image or icon in their options
2014-07-01 17:17:53 +10:00
Sam Georges
94a4ccb6ab Ref #306 - mysettings should be unrestricted by permissions 2014-06-16 21:13:07 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00