Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The idea is that there must be a permission to administer Custom Permissions module itself.
File name: config_perms.custom_perms_entity.administer_custom_permissions.yml
File content:
status: true
dependencies: { }
id: administer_custom_permissions
label: 'Administer custom permissions'
route: "entity.custom_perms_entity.clone_form\r\nentity.custom_perms_entity.delete_form\r\ncustom_perms_select_list_form"
After we do that, it's work to submit this as a patch to the Custom Permissions module.
See #3003960: Change Custom Permissions List permission to administer permissions
and #3003953: How to hide Custom Permissions tab on People page
Comment | File | Size | Author |
---|---|---|---|
#3 | custom_perms---varbase860.png | 344.67 KB | Rajab Natshah |
Comments
Comment #2
Mohammed J. RazemI think no need for the original proposal in this ticket.
We just need to update to Custom Permissions 8.x-2.0-beta2
Comment #3
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedTested it, and it works after the update and drush updb
Comment #4
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #6
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedComment #7
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commentedIn varbase_core composer.json we are calling
so we can do the following to update
Comment #8
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot commented