©
This document uses PHP Chinese website manual Release
视图enabled_roles标识当前"已授权角色"。 授权的角色递归地被定义为当前用户和所有通过自动继承授权的角色。换句话说, 当前用户直接地或间接地,自动地继承成员权限。
For permission checking, the set of is applied, which can be broader than the set of enabled roles. So generally, it is better to use the view applicable_roles instead of this one; see also there. 对于权限的检查,"可用角色"的设置是比较实用的,
Table 34-18. enabled_roles字段
名称 | 数据类型 | 描述 |
---|---|---|
role_name | sql_identifier | 角色名 |