Skip to content

Commit

Permalink
fix pep example
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis committed Aug 5, 2024
1 parent 06ebc58 commit 83b0474
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions service/pkg/server/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ func WithPublicRoutes(routes []string) StartOptions {
// Example:
//
// opentdf.WithAuthZDefaultPolicyExtension([][]string{
// buildEndpointAuthzPolicy("org-admin", "pep*", "*", true),
// buildEndpointAuthzPolicy("standard", "shared.*", "read", true),
// {"p","role:org-admin", "pep*", "*","allow"),
// }),
func WithAuthZDefaultPolicyExtension(policies [][]string) StartOptions {
return func(c StartConfig) StartConfig {
Expand Down

0 comments on commit 83b0474

Please sign in to comment.