forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rbac): implement a file watcher for csv reloads (janus-idp#1587)
* feat(rbac): implement a file watcher for csv reloads * feat(rbac): minor fixes * feat(rbac): minor fixes * feat(rbac): update to use new auth backend service * fix(rbac): fix the error handling for the RBAC file watcher Signed-off-by: Oleksandr Andriienko <[email protected]> --------- Signed-off-by: Oleksandr Andriienko <[email protected]> Co-authored-by: Oleksandr Andriienko <[email protected]>
- Loading branch information
1 parent
7d9ee11
commit 62fcafc
Showing
21 changed files
with
1,063 additions
and
1,508 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
3 changes: 0 additions & 3 deletions
3
plugins/rbac-backend/src/__fixtures__/data/invalid-csv/duplicate-policies-actions.csv
This file was deleted.
Oops, something went wrong.
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
1 change: 0 additions & 1 deletion
1
plugins/rbac-backend/src/__fixtures__/data/invalid-csv/entityref-policy.csv
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
plugins/rbac-backend/src/__fixtures__/data/invalid-csv/error-policy.csv
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,4 @@ | ||
g, user:default/, role:default/catalog-deleter | ||
g, user:default/test, role:default/ | ||
p, role:default/, catalog.entity.create, use, allow | ||
p, role:default/test, catalog.entity.create, delete, temp |
1 change: 0 additions & 1 deletion
1
plugins/rbac-backend/src/__fixtures__/data/invalid-csv/permission-policy.csv
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
plugins/rbac-backend/src/__fixtures__/data/invalid-csv/role-entityref-policy.csv
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
plugins/rbac-backend/src/__fixtures__/data/valid-csv/simple-policy.csv
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,2 @@ | ||
g, user:default/guest, role:default/catalog-writer | ||
p, role:default/catalog-writer, catalog-entity, update, allow |
10 changes: 0 additions & 10 deletions
10
plugins/rbac-backend/src/__fixtures__/data/valid-csv/updated-rbac-policy.csv
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.