unlcms / project-herbie

Drupal 10 implementation at the University of Nebraska–Lincoln
https://cms.unl.edu
GNU General Public License v2.0
5 stars 6 forks source link

Implement Block Permissions #46

Closed macburgee1 closed 4 years ago

macburgee1 commented 5 years ago

We still need to find a way to implement per-bundle block permissions. The Block Content Permissions is a candidate; however, it has no effect when adding or editing inline blocks with Layout Builder.

Relevant core issues:

In the meantime, we will be able to use Layout Builder Restrictions to restrict the ability to add certain inline blocks; however, we'd still need to solve how to control editing existing inline blocks in Layout Builder.

macburgee1 commented 5 years ago

Setting to postponed until Layout Builder Restrictions 8.x-2.x is deployed.

macburgee1 commented 4 years ago

Until the core issues land, there's this: Block Content Permissions

macburgee1 commented 4 years ago

We're going to narrow the scope of this issue to deal with custom block permissions (i.e. handle Layout Builder inline blocks separately)

macburgee1 commented 4 years ago

This pull request uses a patch from Allow accessing the "Custom block library" page without "Administer blocks" permission. Review on Drupal.org would be helpful.