- First commit to issue fork.
- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.4 & MySQL 5.7last update
7 months ago Waiting for branch to pass - Status changed to Needs review
7 months ago 7:50am 5 December 2023 - πΊπ¦Ukraine AstonVictor
Created a new MR.
Added edit/clone/delete permissions and implemented custom access callbacks for routes that check both the permission and entity access.
Note that all new permissions are disabled by default. So, after merging changes, all contextual links will by hidden.
I guess it's better to merge changes to the next release e.g. 4.0.x - Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.4 & MySQL 5.7last update
7 months ago Waiting for branch to pass - π³π±Netherlands bbrala Netherlands
Hmm, yeah that is kinda breaking then. Wouldnt the correct path be adding an upgrade hook that adds the permission to the roles currently having that permission? Then its non breaking and can be disabled if you like.
- π©πͺGermany axroth Stuttgart
+ 1 for the permission approach with update hook
- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.4 & MySQL 5.7last update
5 months ago Waiting for branch to pass - πΊπ¦Ukraine AstonVictor
Implemented an update hook to set permissions for users with
authenticated
role.