#
ztaff
I’ve just started to dig into Cuyahoga, and what can I say, but I’m impressed by all the effort put into it. And I’m learning a lot each time I scrutinize the code.
Yet I find the permission architecture a bit simple.
First I would like to see a more generic approach where node roles and section roles are merges into the same table, distinguished by a typeid. This could open up for other (custom) permissions.
And second, why not open up for more verbs than read and edit? The development of a workflow should benefit from having permissions like publish/review or whatever.
A node could have a create permission meaning the role is permitted to create sub nodes to the current node etc etc.
This can be accomplished by a bit field from one or two long INTs (64 or 128 bits) instead of the current “viewallowed” and “editallowed” fields.
Let the first 32 or 64 bits be reserved for the core ( read, edit, create, open, ,,, ) and let the rest be open for custom modules to use.
Is maybe anyone working on this yet?
Greetings
/Staffan
Yet I find the permission architecture a bit simple.
First I would like to see a more generic approach where node roles and section roles are merges into the same table, distinguished by a typeid. This could open up for other (custom) permissions.
And second, why not open up for more verbs than read and edit? The development of a workflow should benefit from having permissions like publish/review or whatever.
A node could have a create permission meaning the role is permitted to create sub nodes to the current node etc etc.
This can be accomplished by a bit field from one or two long INTs (64 or 128 bits) instead of the current “viewallowed” and “editallowed” fields.
Let the first 32 or 64 bits be reserved for the core ( read, edit, create, open, ,,, ) and let the rest be open for custom modules to use.
Is maybe anyone working on this yet?
Greetings
/Staffan