MCPcopy Index your code
hub / github.com/apache/casbin / UpdatePolicyCtx

Method UpdatePolicyCtx

enforcer_context_interface.go:78–78  ·  view source on GitHub ↗
(ctx context.Context, oldPolicy []string, newPolicy []string)

Source from the content-addressed store, hash-verified

76 RemoveFilteredNamedGroupingPolicyCtx(ctx context.Context, ptype string, fieldIndex int, fieldValues ...string) (bool, error)
77
78 UpdatePolicyCtx(ctx context.Context, oldPolicy []string, newPolicy []string) (bool, error)
79 UpdatePoliciesCtx(ctx context.Context, oldPolicies [][]string, newPolicies [][]string) (bool, error)
80 UpdateFilteredPoliciesCtx(ctx context.Context, newPolicies [][]string, fieldIndex int, fieldValues ...string) (bool, error)
81

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected