Class cRights
This classs contains methods to handle rights.
Package: Core\Backend
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Marcus Gnaß
Located at classes/class.rights.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Marcus Gnaß
Located at classes/class.rights.php
public static
boolean
|
#
copyRightsForElement( string $area, integer $iditem, integer $newiditem, boolean $idlang = false )
Duplicate rights for any element. |
public static
boolean
|
#
createRightsForElement( string $area, integer $iditem, boolean $idlang = false )
Create rights for any element |
public static
|
#
deleteRightsForElement( string $area, integer $iditem, boolean $idlang = false )
Delete rights for any element |
public static
array
|
#
buildUserOrGroupPermsFromRequest( boolean $bAddUserToClient = false )
Builds user/group permissions (sysadmin, admin, client and language) by processing request variables ($msysadmin, $madmin, $mclient, $mlang) and returns the build permissions array. |
public static
boolean
|
|
public static
boolean
|
|
public static
array
|
#
getRightsList( )
Build list of rights for all relevant and online areas except "login" and their relevant actions. |