Closed (fixed)
Project:
Slots
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 Jan 2026 at 13:35 UTC
Updated:
21 Apr 2026 at 15:50 UTC
Jump to comment: Most recent
You can edit slots in the layout, there is no way of restricting the user from that.
Add a slot to the layout, go to a user that can access the layout, View slots identifiers and not administer slots.
Use the access on edit to restrict the user from editing.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gashunk commentedAdd a check to the link that gets created when the slot is placed in the layout builder. Currently I check on access('edit') which comes from the permission "administer slots".
Comment #4
harlor commentedCode looks good
Comment #5
hydra commented