How do I give View Only access to all users across all organisations in grafana by default

  • What Grafana version and what operating system are you using?
    → grafana version : 11.4.0, operating system : ubuntu 22.04

  • What are you trying to achieve?
    setting up default role as Viewer for all users across all organisations, so that I can achieve this RBAC for future users and future organisations as well.

  • How are you trying to achieve it?
    by changing some configs in grafana.ini

  • What happened?
    even after making changes auto_assign_org_role: Viewer in grafana.ini
    still I am only getting orgId’s view access If I do SSO.

  • What did you expect to happen?
    I expected to get View only access across all grafana organisations.

  • Can you copy/paste the configuration(s) that you are having problems with?
    I am not exactly sure how to achieve this, but I was making changes in below configs :

  grafana.ini:
    users:
      auto_assign_org_role: Viewer
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

no I didn’t receive any errors.

  • Did you follow any online instructions? If so, what is the URL?

I asked GROT AI who told me to modify grafana.ini