- Issue created by @robbertnl
- 🇬🇧United Kingdom adamps
Thanks it's a good idea.
Drupal.org now requires merge requests instead of patches. There is a new 2.x branch now and all fixes should be against that. There is now a separate module for mailer policy so your fix makes a lot of sense.
- 🇬🇧United Kingdom adamps
Thanks I've taken a look.
Please can you give me any example in Core where a config entity has an access control hander and complex permissions like this?
The IS says
Some roles should be able to change mail templates only
A possible simpler solution: have a single permission for changing mailer policy, separate from any other permission of this module.
- 🇳🇱Netherlands robbertnl
@adamps
Maybe config entity type Menu, see /core/modules/system/src/Entity/Menu.php and its control handler core/modules/system/src/MenuAccessControlHandler.php - 🇬🇧United Kingdom adamps
True, but looks like that is for "Locked menus should not be deleted". I don't see extra permissions in that case.
Do you have a particular use case that would not be solved with the suggestion from #7?
- Status changed to Needs work
4 months ago 7:17am 25 January 2025