Fontend handling of account role to hide user actions and links that the user does not have access to
This commit is contained in:
+3
-1
@@ -46,6 +46,8 @@ secret_key = SW2YcwTIb9zpOOhoPsMm
|
||||
login_remember_days = 7
|
||||
cookie_username = grafana_user
|
||||
cookie_remember_name = grafana_remember
|
||||
; disable user signup / registration
|
||||
disable_user_signup = false
|
||||
|
||||
[account.single]
|
||||
; Enable this feature to auto assign new users to a single account, suitable for NON multi tenant setups
|
||||
@@ -57,7 +59,7 @@ default_role = Editor
|
||||
|
||||
[auth.anonymous]
|
||||
; enable anonymous access
|
||||
enabled = false
|
||||
enabled = true
|
||||
; specify account name that should be used for unauthenticated users
|
||||
account_name = main
|
||||
; specify role for unauthenticated users
|
||||
|
||||
Reference in New Issue
Block a user