Add permission to view "More options" link

Created on 19 January 2024, 5 months ago

Problem/Motivation

I use this module in combination with Layout Builder Restrictions β†’ and often have users that can only use inline content blocks. This makes the "More" button confusing because these users can only access options in the drop down, so "More" just sends them to "Create content block" which loops back to the options in the drop down.

Proposed resolution

  1. Add a permission: "View 'More options' link"
  2. Check if current user has permission before adding $links['other'] in src/LayoutBuilder.php
✨ Feature request
Status

Needs review

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States jayhuskins

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024