Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# ztaff 7/30/2007 12:27 PM
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
# martijnb 7/30/2007 1:06 PM
The permission scheme is kept simple on purpose because:
- most people don't need advanced permissions
- advanced permissions also don't fit all requirements.

But maybe, we can think of some permission plugin system where you can add your own mechanisms when you need a more fine grained level of security.