Okta: Add disableAssignDefaultRoles to plugin sync settings#54878
Okta: Add disableAssignDefaultRoles to plugin sync settings#54878
Conversation
177cf08 to
b8ff68e
Compare
f979869 to
9272528
Compare
9272528 to
babd96c
Compare
r0mant
left a comment
There was a problem hiding this comment.
@smallinsky and I discussed this yesterday and instead of having a boolean flag to disable the role we instead decided that having a way to provide default role for the integration (which would default to okta-requester) would be a better UX/design. This way users can override it to their own crafted role if they choose to. It looks like this PR still implements the "disable" flag.
798ba33 to
31b65ef
Compare
|
Just to make things clear: the primary goal of this work is not to allow replace the default okta-requester role assignment but rather being able to disable the default okta-requester role assignment altogether. This is to allow the situation that was possible using the legacy okta_service with SAML connector role mapping without the User Sync enabled. I tried to convert this to a string slice (
This sounds like too much effort for such a simple feature and we wouldn't be able to deliver in a reasonable time.
I don't like this for 2 reasons:
This seems ok but:
This has several advantages:
Potential So for now I went with the first part of 4. and renamed the bool flag to Please LMK what you think. EDIT: Another alternative that came to mind. Personally I don't feel it's much better than 4. if at all because it cements the simplistic design, but it allows to have |
|
Updated the comment above. |
4cbe5e4 to
515384c
Compare
0ecbc98 to
49d4a41
Compare
a0910a3 to
bbc7bef
Compare
1d196c4 to
b5b4085
Compare
b5b4085 to
33cf218
Compare
Issue https://github.com/gravitational/teleport.e/issues/6533
Requires #54924 (so we don't have a mess with the fields order)
Related E changes https://github.com/gravitational/teleport.e/pull/6537
It also enables Access Requests to Okta-originated resources when only App and Group sync is enabled (no Access List sync) a0910a3
Backports: