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

Make user role prefixes configurable #974

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

LukasKalbertodt
Copy link
Member

See commits.

Some users, usually provided by external systems, have user roles
starting with `ROLE_AAI_USER_` for example. To make the ACL UI work
properly in those cases, we need to make it configurable.

We also considered getting this information from Opencast instead of
having to configure it twice. However, there were some problems:
- Currently it is configured in two places in Opencast.
- Those cannot be lists, but only a single role. At least right now.
- Unclear how to best retrieve that value from Opencast. Building a
  custom API and all that jazz takes time.
- Maybe Admin UI and Tobira should be configured independently, maybe
  we don't actually want to entangle them too much.
Two separate things were fixed:
- Super long unbreakable labels (long unknown roles) would just not
  break on wide screens and overflow terribly.
- Special user entries (either yourself, or the unknown user) were
  broken into multiple lines weirdly as the parent container is flex.

Both can be checked on the video "On the Shore of the Cosmic Ocean"
(L3TEYHLXRxf).
@github-actions github-actions bot temporarily deployed to test-deployment-pr974 October 23, 2023 17:41 Destroyed
Copy link
Member

@owi92 owi92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@owi92 owi92 merged commit 2877f3c into elan-ev:master Oct 24, 2023
4 checks passed
@LukasKalbertodt LukasKalbertodt deleted the configurable-user-role-prefix branch October 24, 2023 09:29
@LukasKalbertodt LukasKalbertodt added the changelog:admin Changes primarily for admins label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:admin Changes primarily for admins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants