Created
March 2, 2022 15:51
-
-
Save tolgaOzen/3f004063a48cb5dc290d5b1a47f98d1a to your computer and use it in GitHub Desktop.
resource owner rule create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response, err := client.Rule.Create(rule.Create{ | |
Name: "is resource owner", | |
Conditions: []string{"user.id == resource.attributes.owner_id"}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment