Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghstahl/3d4941f8e54777c20dc87d65cfd66e9e to your computer and use it in GitHub Desktop.
Save ghstahl/3d4941f8e54777c20dc87d65cfd66e9e to your computer and use it in GitHub Desktop.
openfga-revoke-access-on-user-password-change_authorization_model_schema_1.1.dsl
model
schema 1.1
type user
type integrity
relations
define member_in_context: [user]
define member: [user] and member_in_context
type user_repo
relations
define integrity : [integrity]
define member: [user] and member from integrity
type org
relations
define member: [user] and member from user_repo and member_in_context
define user_repo: [user_repo]
define member_in_context: [user]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment