Admin access to config but not superadmin

Hi is there a way I can give an admin user that isn’t a superadmin access to site config, or even better just one tab of the config? Eg:

access:
  admin:
    login: 'true'
    super: 'false'
    pages: 'true'
    config: 'true'

Or better:

access:
  admin:
    login: 'true'
    super: 'false'
    pages: 'true'
    config.site: 'true'
OR
    config:
       site: 'true' 

Thanks

Use admin.configuration_site (change _site to any config route you want to allow access)

Hi, sorry I still can’t get this to work… I’ve tried:

access:
  admin:
    login: 'true'
    super: 'false'
    pages: 'true'
    statistics: 'true'
    configuration_site: 'true'

and

access:
  admin.configuration_site: 'true'

but that user still can’t access the config file…

Tried logout / login?

Yes multiple times. So that syntax was right?

This should work (tested):


access:
  admin:
    login: 'true'
    super: 'false'
    configuration: 'true'
    configuration_site: 'true'
1 Like

Yes! That works, thank you. It was the configuration: trueit needed. Cheers