Closed (fixed)
Project:
Node Class
Version:
2.0.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2022 at 12:36 UTC
Updated:
29 Apr 2026 at 06:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
robcarrPatch attached
Comment #3
robcarrSorry - was in a hurry to post last patch. This one applies correctly.
Comment #4
robcarrPermissions not working correctly
Comment #5
justskew commentedFixed
Comment #6
Arturo-q commentedHi, I've reviewed patch #4, and it fixes the issue, I've tested it locally and now the "Node class setting" tab only appears on the edit node page if the actual user has the new role "Define custom node classes", moving to RTBC.
Regards.
Comment #7
anybodyPlease use a MR instead.
Comment #8
anybodyThis is a very helpful and important feature.
Comment #11
vitaliyb98 commentedHi, added changes from the patch into the MR. Tested it, works as expected, moved to RTBC
Comment #12
anybodyThanks @vitaliyb98 - as this is quite widely used, please add an (empty) update hook that informs user about the new permission in its PHPDoc, so they will see the message when updating. Let them know what to do, as this is a breaking change.
Comment #13
vitaliyb98 commentedHi @anybody, thanks for your feedback!
Added hook update with:
If you have a better idea for the text, please let me know)
Comment #14
anybodyThanks @vitaliyb98 I think it's good enough.
Comment #16
anybody