Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove org-admin role #384

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/roundtrip/keycloak_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ realms:
realm: opentdf
enabled: true
custom_realm_roles:
- name: opentdf-org-admin
- name: opentdf-admin
- name: opentdf-standard
custom_client_roles:
Expand All @@ -35,7 +34,7 @@ realms:
protocolMappers:
- *customAudMapper
sa_realm_roles:
- opentdf-org-admin
- opentdf-admin
- client:
clientID: opentdf-sdk
enabled: true
Expand Down Expand Up @@ -98,7 +97,7 @@ realms:
groups:
- mygroup
realmRoles:
- opentdf-org-admin
- opentdf-admin
clientRoles:
realm-management:
- view-clients
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/roundtrip/opentdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,10 @@ server:
map:
# standard: opentdf-standard
# admin: opentdf-admin
# org-admin: opentdf-org-admin

## Custom policy (see examples https://github.com/casbin/casbin/tree/master/examples)
csv: #|
# p, role:org-admin, policy:attributes, *, *, allow
# p, role:org-admin, policy:subject-mappings, *, *, allow
# p, role:org-admin, policy:resource-mappings, *, *, allow
# p, role:org-admin, policy:kas-registry, *, *, allow
# p, role:org-admin, policy:unsafe, *, *, allow
# p, role:admin, *, *, allow

## Custom model (see https://casbin.org/docs/syntax-for-models/)
model: #|
Expand Down
Loading