mongodb\rbac\MongoDbManager removeRule()

removeRule() protected method

Removes a rule from the RBAC system.

protected boolean removeRule ( $rule )
$rule yii\rbac\Rule

The rule to remove

return boolean

Whether the rule is successfully removed

throws Exception

if data validation or saving fails (such as the name of the rule is not unique)

doc_Yii
2016-10-30 17:09:25
Comments
Leave a Comment

Please login to continue.