PostgreSQL 9.0.4 中文文档 | ||||
---|---|---|---|---|
Prev | Fast Backward | Chapter 34. 信息模式 | Fast Forward | Next |
视图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. 对于权限的检查,"可用角色"的设置是比较实用的,