Documentation
¶
Index ¶
- func AllowIfAdminMutationRole() privacy.MutationRule
- func AllowIfAdminMutationTenant() privacy.MutationRule
- func AllowIfAdminMutationUser() privacy.MutationRule
- func AllowIfAdminQueryRole() privacy.QueryRule
- func AllowIfAdminQueryTenant() privacy.QueryRule
- func AllowIfAdminQueryUser() privacy.QueryRule
- func AllowIfOwnerMutationUser() privacy.MutationRule
- func AllowIfOwnerQueryRole() privacy.QueryRule
- func AllowIfOwnerQueryUser() privacy.QueryRule
- func AllowIfSuperAdminMutationRole() privacy.MutationRule
- func AllowIfSuperAdminMutationUser() privacy.MutationRule
- func AllowIfSuperAdminQueryRole() privacy.QueryRule
- func AllowIfSuperAdminQueryUser() privacy.QueryRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowIfAdminMutationRole ¶
func AllowIfAdminMutationRole() privacy.MutationRule
AllowIfAdminMutationRole 允许管理员变更其租户下的角色。
func AllowIfAdminMutationTenant ¶
func AllowIfAdminMutationTenant() privacy.MutationRule
func AllowIfAdminMutationUser ¶
func AllowIfAdminMutationUser() privacy.MutationRule
AllowIfAdminMutationUser 允许管理员变更其租户下的用户。
func AllowIfAdminQueryRole ¶
AllowIfAdminQueryRole 允许管理员查询其租户下的角色。
func AllowIfAdminQueryTenant ¶
func AllowIfAdminQueryUser ¶
AllowIfAdminQueryUser 允许管理员查询其租户下的用户。
func AllowIfOwnerMutationUser ¶
func AllowIfOwnerMutationUser() privacy.MutationRule
func AllowIfOwnerQueryRole ¶
AllowIfOwnerQueryRole 允许用户查询自己的角色。
func AllowIfOwnerQueryUser ¶
AllowIfOwnerQueryUser 允许用户查询自己的信息。
func AllowIfSuperAdminMutationRole ¶
func AllowIfSuperAdminMutationRole() privacy.MutationRule
AllowIfSuperAdminMutationRole 允许超级用户变更所有资源。
func AllowIfSuperAdminMutationUser ¶
func AllowIfSuperAdminMutationUser() privacy.MutationRule
AllowIfSuperAdminMutationUser 允许超级用户变更所有资源。
func AllowIfSuperAdminQueryRole ¶
AllowIfSuperAdminQueryRole 允许超级用户查询所有资源。
func AllowIfSuperAdminQueryUser ¶
AllowIfSuperAdminQueryUser 允许超级用户查询所有资源。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.