eclipse-tractusx / portal-iam

IAM - Keycloak instances
Apache License 2.0
1 stars 14 forks source link

Missing roles for Company Admin + wrong documentation #185

Open MaximilianHauer opened 3 weeks ago

MaximilianHauer commented 3 weeks ago

Current Behavior

based on the role concept some roles are missing in the roles

documentation: https://github.com/eclipse-tractusx/portal-iam/blob/main/docs/technical%20documentation/06.%20Roles%20%26%20Rights%20Concept.md

Roles missing for

Company Admin

roles need to be added


IT Admin

roles need to be removed subscribe_service


Purchaser

roles need to be removed upload_certificates delete_certificates


Sales Manager

roles need to be removed app_management activate_subscription roles need to be added view_idp -> why idp ? subscribe_apps


Service Manager

roles need to be removed delete_documents

roles need to be added add_technical_user_management delete_tech_user_management view_managed_idp view_connectors add_connectors delete_connectors subscribe_apps view_service_subscriptions view_subscription

roles need to be removed from the R&R concept add_idp setup_idp disable_idp delete_idp


Business Partner Data Manager

roles need to be added to the R&R view_user_management view_own_user_account update_own_user_account delete_own_user_account

Document adjustment

Open Questions

image

jjeroch commented 6 days ago

@MaximilianHauer I have validated our keycloak image once; and it is existing. It may make sense to check why the test env. is acting differently:

image

code link: https://github.com/eclipse-tractusx/portal-iam/blob/main/import/realm-config/generic/catenax-central/CX-Central-realm.json#L932


Same applies for a couple of roles for Service Manager

image

...I would not suggest to add:

to the Service Manager.

MaximilianHauer commented 5 days ago

thanks @jjeroch will have a look