mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
- Added new config file permission.php
- It contains the following entries: - List of permissions that are allowed to perform loginAs - List of permissions that cannot be gained with loginAs - List of users whose identity cannot be obtained with loginAs - Removed config entries authentication_loginas_perms and authentication_loginas_blacklist from config file auth.php - Added constants to PermissionLib: LOGINAS_ALLOWED, LOGINAS_BLACKLIST and LOGINAS_USERS_BLACKLIST - PermissionLib loads the config file permission.php - Added public method isEntitledLoginAS to PermissionLib - Added private methods _inLAUsersBlacklist, _hasLANotAllowedPermissions and _hasLAPermissions to PermissionLib - Added public method loginAS to AuthLib - Fixed logout method in AuthLib - Fixed loginLDAP method in AuthLib
This commit is contained in:
@@ -16,9 +16,3 @@ $config['authentication_login_pages'] = array(
|
||||
AUTH_LDAP => '/system/Login/usernamePassword',
|
||||
AUTH_SSO => '/system/Login/sso'
|
||||
);
|
||||
|
||||
// List of permissions that are allowed to perform loginAs
|
||||
$config['authentication_loginas_perms'] = array('admin', 'infocenter');
|
||||
|
||||
// List of permissions that cannot be gained with loginAs
|
||||
$config['authentication_loginas_blacklist'] = array('admin');
|
||||
|
||||
Reference in New Issue
Block a user