rule

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

func AllowIfAdminQueryRole() privacy.QueryRule

AllowIfAdminQueryRole 允许管理员查询其租户下的角色。

func AllowIfAdminQueryTenant

func AllowIfAdminQueryTenant() privacy.QueryRule

func AllowIfAdminQueryUser

func AllowIfAdminQueryUser() privacy.QueryRule

AllowIfAdminQueryUser 允许管理员查询其租户下的用户。

func AllowIfOwnerMutationUser

func AllowIfOwnerMutationUser() privacy.MutationRule

func AllowIfOwnerQueryRole

func AllowIfOwnerQueryRole() privacy.QueryRule

AllowIfOwnerQueryRole 允许用户查询自己的角色。

func AllowIfOwnerQueryUser

func AllowIfOwnerQueryUser() privacy.QueryRule

AllowIfOwnerQueryUser 允许用户查询自己的信息。

func AllowIfSuperAdminMutationRole

func AllowIfSuperAdminMutationRole() privacy.MutationRule

AllowIfSuperAdminMutationRole 允许超级用户变更所有资源。

func AllowIfSuperAdminMutationUser

func AllowIfSuperAdminMutationUser() privacy.MutationRule

AllowIfSuperAdminMutationUser 允许超级用户变更所有资源。

func AllowIfSuperAdminQueryRole

func AllowIfSuperAdminQueryRole() privacy.QueryRule

AllowIfSuperAdminQueryRole 允许超级用户查询所有资源。

func AllowIfSuperAdminQueryUser

func AllowIfSuperAdminQueryUser() privacy.QueryRule

AllowIfSuperAdminQueryUser 允许超级用户查询所有资源。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL