-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Use --datastore-bootstrap-files and schema.yml for initial …
…seeding. remove obsolete code.
- Loading branch information
Showing
4 changed files
with
33 additions
and
89 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
schema: |- | ||
definition principal {} | ||
definition tenant { | ||
relation member : principal | ||
relation tenant_admin : principal | ||
permission admin = tenant_admin | ||
} | ||
definition group { | ||
relation parent : tenant | group | ||
relation direct_member : principal | ||
relation group_admin : principal | ||
permission member = direct_member + group_admin + parent->admin | ||
permission admin = group_admin + parent->admin | ||
} | ||
definition role { | ||
relation assigned_group: group | ||
permission member = assigned_group->member | ||
} | ||
relationships: "" | ||
assertions: null | ||
validation: null |
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