Skip to content
Discussion options

You must be logged in to vote

You don't give Keycloak users a type - instead you tell Dashy which Keycloak role (or group) counts as admin, with adminRole or adminGroup. Then swap disableConfiguration for disableConfigurationForNonAdmin, because disableConfiguration: true switches the config UI off for everyone, admins included. allowConfigEdit can go too, it doesnt do anything.

appConfig:
  disableConfigurationForNonAdmin: true
  auth:
    enableGuestAccess: true
    enableKeycloak: true
    keycloak:
      serverUrl: https://keycloak.url
      realm: Dashy
      clientId: clientid
      adminRole: role1

Anyone with role1 then gets the config menu, and everyone else (guests included) doesn't. If you'd rather do it by…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lissy93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants