Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Different panel UI based on user role#305

I need to display a completely different panel UI based on user role. If we restrict a user’s permissions to do certain actions, it makes sense to give them a different UI to do their job too.

There should be a roles setting for blueprint tabs. Then, you’ll be able to do this in site.yml, for example:

title: Site
tabs:
  adminMain:
    roles:
      - admin
    fields:
      ...
  editorMain:
    roles:
      - editor
    fields:
      ...

…then, admins see the admin tab, while editors see the editor tab. If you want a tab to be visible by all roles, you just omit the roles setting.

3 years ago
1

Duplicate of: https://kirby.nolt.io/12

Merged it to keep the votes.

3 years ago