Class

AuthorizationsSettings

Package: phpboost Author: Benoit Sautel <ben.popeye@phpboost.com> Desc: 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.
Located at phpboost/member/authorization/AuthorizationsSettings.class.php
Methods summary
public
# __construct( array $actions = array() )
public ActionAuthorization[]
# get_actions( )
public
# add_action( ActionAuthorization $action )
public mixed[]
# build_auth_array( )
public
# build_from_auth_array( array $auth_array )