AuthorizationsSettings
This class manages authorizations settings which deals with all the actions for which you want to restrict access. You can choose who can access to between the different roles existing in PHPBoost:
- ranks (guest, member, moderator, administrator)
- groups (members can belong to one or more groups)
- members (you can tell that only a particular user can access)
This class contains a list of ActionAuthorization
that correspond to each action with the
associated authorizations.
public
|
|
public
|
|
public
|
|
public
mixed[]
|
#
build_auth_array( )
Builds and returns the authorization array which is formatted at the legacy format to be compliant with legacy code. It's that format that has to be stored and that is used to check authorizations. |
public
|
#
build_from_auth_array( array $auth_array )
Sets the authorizations from an authorization array formatted at the legacy format. |