Add permission for showing only the secondary toolbar

Created on 4 June 2021, over 3 years ago
Updated 16 June 2023, over 1 year ago

Problem/Motivation

In one of our projects, we have a user role that only has access to one admin route. For that reason, there's no need for an admin toolbar. However, this user still needs to be able to log out.

Proposed resolution

Add a new permission, access secondary toolbar. To ensure backwards compatibility, if the access toolbar permission is granted, the access secondary toolbar permission is implied.

Remaining tasks

Extract the secondary toolbar from toolbar.html.twig/gin_toolbar_preprocess_toolbar so we can show it without requiring the user to have the access toolbar permission.

โœจ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024