Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
All missing mandatory translate roles for users authentication via SSO will be automatically added.
-
Empty show more show less
Description
Problem
The evaluation for the required user roles via acl (auto_set_role) is missing when OpenID user is created/updated. This leads to a "unable to authenticate" problem if such auto_set_role (ex: editor) is not provided from the SSO provider.
Example when this can happen:
- User is authenticated in translate5 via SSO
- The roles for this user returned from the SSO provider are: admin,pm
- The valid roles for the domain/customer (definable in the customers panel) are editor,admin,pm
- translate5 will set admin,pm as valid roles for the user, and it will try to authenticate internally
- since editor role is missing from the user roles, and the editor role is must-have role when the user has admin or pm role, translate5 will not allow this user to be authenticated.
Attachments
Issue Links
- relates to
-
TRANSLATE-1552 Auto set needed ACL roles
- Done