?
? ????? PHP ??? ???? ??? ?? ??
視圖enabled_roles標(biāo)識(shí)當(dāng)前"已授權(quán)角色"。 授權(quán)的角色遞歸地被定義為當(dāng)前用戶和所有通過(guò)自動(dòng)繼承授權(quán)的角色。換句話說(shuō), 當(dāng)前用戶直接地或間接地,自動(dòng)地繼承成員權(quán)限。
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. 對(duì)于權(quán)限的檢查,"可用角色"的設(shè)置是比較實(shí)用的,
Table 34-18. enabled_roles字段
名稱(chēng) | 數(shù)據(jù)類(lèi)型 | 描述 |
---|---|---|
role_name | sql_identifier | 角色名 |