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

[identity-providers][multi-env] Adapt role mapping screen for multi-environment #4803

Closed
phiz71 opened this issue Dec 15, 2020 · 1 comment · Fixed by gravitee-io/gravitee-management-rest-api#1363 or gravitee-io/gravitee-management-webui#1466

Comments

@phiz71
Copy link
Member

phiz71 commented Dec 15, 2020

Currently, role-mapping for environments will only be applied for 'DEFAULT' environment.
In a multi-env context, we should provide a way to configure different roles for different environments.

@phiz71 phiz71 added this to the APIM - 3.6.0 milestone Dec 15, 2020
@phiz71 phiz71 self-assigned this Feb 3, 2021
phiz71 added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Feb 4, 2021
* handle backward compatibility, as the previous format in DB is ENVIRONMENT:ROLE_NAME and the new is ENVIRONMENT:ENV_ID:ROLE_NAME
* shared code between OAuth2AuthenticationResource and UserServiceImpl
* add a unit test in UserService

Closes gravitee-io/issues#4803
phiz71 added a commit to gravitee-io/gravitee-management-webui that referenced this issue Feb 4, 2021
phiz71 added a commit to gravitee-io/gravitee-docs that referenced this issue Feb 4, 2021
@gaetanmaisse gaetanmaisse self-assigned this Feb 5, 2021
@gaetanmaisse
Copy link
Contributor

I tested it locally but had some weird issues 🤔 to discuss

phiz71 added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Feb 8, 2021
* handle backward compatibility, as the previous format in DB is ENVIRONMENT:ROLE_NAME and the new is ENVIRONMENT:ENV_ID:ROLE_NAME
* shared code between OAuth2AuthenticationResource and UserServiceImpl
* add a unit test in UserService

Closes gravitee-io/issues#4803
phiz71 added a commit to gravitee-io/gravitee-management-webui that referenced this issue Feb 8, 2021
gaetanmaisse pushed a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Feb 8, 2021
* handle backward compatibility, as the previous format in DB is ENVIRONMENT:ROLE_NAME and the new is ENVIRONMENT:ENV_ID:ROLE_NAME
* shared code between OAuth2AuthenticationResource and UserServiceImpl
* add a unit test in UserService

Closes gravitee-io/issues#4803
gaetanmaisse pushed a commit to gravitee-io/gravitee-management-webui that referenced this issue Feb 8, 2021
plsstephenson pushed a commit to gravitee-io/gravitee-docs that referenced this issue Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment