- Issue created by @codechefmarc
- πΊπ¦Ukraine Panchuk Volyn, Lutsk
@codechefmarc thanks for your contribution.
I need to fix autotests first, but your MR will be reviewed and merged asap.
Currently, when a user does not have permission to edit locks, they still get the help text "Locks can be configured when the section has been added." when adding a new section.
As a user without permission to edit locks, ("manage lock settings on sections"), add a new section to a layout builder layout. Choose a section, and when there is the text field for the "Administrative label", below it you will see some help text that says: "Locks can be configured when the section has been added."
Perform a similar permissions check to what is already done in the module to show the form, but perform it for the help text as well. Forthcoming MR with code changes.
Create the MR.
Yes - the help text will only show for users with the permission to alter locks.
None.
None.
Active
2.0
User interface
@codechefmarc thanks for your contribution.
I need to fix autotests first, but your MR will be reviewed and merged asap.