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

Enable/Disable Items with authentification headers #1304

Open
wants to merge 9 commits into
base: 2.x
Choose a base branch
from

Conversation

tkolzer
Copy link

@tkolzer tkolzer commented Feb 28, 2024

Use case:

  • the Heimdall server is located behind a login page provides by a SSO service like authelia or Keycloak
  • You want to define common services only once and share them between users enabled by the roles they're assigned to

New feature when enabled:

  • The Heimdall setings (order of items, application list, tag list, settings) are only visible for users with role admin.
  • For every application and tag the new field Authentification role is added. This filed contains the role to witch the application or tag is displayed.
  • Applications and tags are only displayed when the logged in user is member of the configured role.

Configuration:

  • The feature can be enabled/disabled in the env file with AUTH_ROLES_ENABLE.
  • It is possible to configure the header containg the roles by AUTH_ROLES_HEADER and AUTH_ROLES_HTTP_HEADER.
  • The role to enable the Heimdall settings can be set wit AUTH_ROLES_ADMIN.

@LinuxServer-CI
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@tkolzer
Copy link
Author

tkolzer commented Mar 29, 2024

@KodeStar can I get some feedback to this merge request.

@LinuxServer-CI
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@tkolzer
Copy link
Author

tkolzer commented Apr 30, 2024

@KodeStar can I get some feedback to this merge request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants