Created
March 2, 2022 15:50
-
-
Save tolgaOzen/5a770c45a4bc1fcd7b104f8ca2c86d8b to your computer and use it in GitHub Desktop.
manager 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 manager", | |
Conditions: []string{"\"manager\" in user.roles"}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment