- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Interesting! Seems like not adding the permission is the problem, but the old permissions have to be removed first, as they are no more existing, when adding the new one?
- First commit to issue fork.
- last update
over 1 year ago 18 pass - @grevil opened merge request.
- Status changed to Needs review
over 1 year ago 7:03am 11 May 2023 - 🇩🇪Germany Grevil
Fixed! I did the following to make sure this would work:
-
- Install the module with an edited permission and install file to have the old permission name and the hook commented out
- Give the old permission to both authenticated AND Conent Editor roles and save
- Rename the permission to the new permission name and comment in the reworked update hook
- Run "drush updb" and update
- No errors on update, the roles given the old permission, have the new permission and the old permission is not mentioned in the permission overview
-
- Status changed to RTBC
over 1 year ago 7:34am 11 May 2023 - 🇩🇪Germany Anybody Porta Westfalica
RTBC! Please merge and tag a new release @Grevil!
- Status changed to Fixed
over 1 year ago 7:40am 11 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.