-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth model): assignee missing from each type for roles (#1444)
* fix(auth model): assignee missing from each type for roles * test(fgatests): add all assignee tests * feat(authmodel): generate auth model * chore(make): rename make target auth-model-json
- Loading branch information
Showing
5 changed files
with
115 additions
and
505 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 |
---|---|---|
@@ -1,42 +1,43 @@ | ||
model | ||
schema 1.1 | ||
|
||
type applicationoffer | ||
relations | ||
define administrator: [user, user:*, group#member] or administrator from model | ||
define consumer: [user, user:*, group#member] or administrator | ||
define model: [model] | ||
define reader: [user, user:*, group#member] or consumer | ||
type user | ||
|
||
type cloud | ||
type role | ||
relations | ||
define assignee: [user, user:*, group#member] | ||
|
||
type group | ||
relations | ||
define administrator: [user, user:*, group#member] or administrator from controller | ||
define can_addmodel: [user, user:*, group#member] or administrator | ||
define controller: [controller] | ||
define member: [user, user:*, group#member] | ||
|
||
type controller | ||
relations | ||
define administrator: [user, user:*, group#member] or administrator from controller | ||
define audit_log_viewer: [user, user:*, group#member] or administrator | ||
define controller: [controller] | ||
define administrator: [user, user:*, group#member, role#assignee] or administrator from controller | ||
define audit_log_viewer: [user, user:*, group#member, role#assignee] or administrator | ||
|
||
type model | ||
relations | ||
define administrator: [user, user:*, group#member] or administrator from controller | ||
define controller: [controller] | ||
define reader: [user, user:*, group#member] or writer | ||
define writer: [user, user:*, group#member] or administrator | ||
define administrator: [user, user:*, group#member, role#assignee] or administrator from controller | ||
define reader: [user, user:*, group#member, role#assignee] or writer | ||
define writer: [user, user:*, group#member, role#assignee] or administrator | ||
|
||
type serviceaccount | ||
type applicationoffer | ||
relations | ||
define administrator: [user, user:*, group#member] | ||
|
||
type user | ||
define model: [model] | ||
define administrator: [user, user:*, group#member, role#assignee] or administrator from model | ||
define consumer: [user, user:*, group#member, role#assignee] or administrator | ||
define reader: [user, user:*, group#member, role#assignee] or consumer | ||
|
||
type role | ||
relations | ||
define assignee: [user, user:*, group#member] | ||
type cloud | ||
relations | ||
define controller: [controller] | ||
define administrator: [user, user:*, group#member, role#assignee] or administrator from controller | ||
define can_addmodel: [user, user:*, group#member, role#assignee] or administrator | ||
|
||
type group | ||
type serviceaccount | ||
relations | ||
define member: [user, user:*, group#member] | ||
define administrator: [user, user:*, group#member, role#assignee] | ||
|
Oops, something went wrong.