mongodb\rbac\MongoDbManager getPermissionsByRole()

getPermissionsByRole() public method

Returns all permissions that the specified role represents.

public yii\rbac\Permission[] getPermissionsByRole ( $roleName )
$roleName string

The role name

return yii\rbac\Permission[]

All permissions that the role represents. The array is indexed by the permission names.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.