Documentation ¶
Overview ¶
Package rule contains policy rules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DenyIfNoSubject ¶
func DenyIfNoSubject() privacy.QueryMutationRule
DenyIfNoSubject is a rule that returns deny decision if the subject is missing in the context.
func HasOrgMutationAccess ¶
func HasOrgMutationAccess() privacy.OrganizationMutationRuleFunc
HasOrgMutationAccess is a rule that returns allow decision if user has edit or delete access
func HasOrgReadAccess ¶
func HasOrgReadAccess() privacy.OrganizationQueryRuleFunc
HasOrgReadAccess is a rule that returns allow decision if user has view access
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.