Needs work
Project:
Workbench Access
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 18:09 UTC
Updated:
20 Oct 2011 at 18:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardThere is, we would have to separate the 'edit' and 'delete' permissions for section editors.
Comment #2
agentrickardYou can do this now with an alter hook, by the way.
Or by implementing hook_node_access() yourself.
Comment #3
Eric Yang commentedComment #4
agentrickardLet's keep this as an open request.
Comment #5
agentrickardHere's a start at advanced permissions. We may just want to change the data storage model in the user and role tables.
Note that the complexity of permissions means that we store a LOT of data. Up to 7 permissions per node type per user. That means the new {workbench_access_permission} table could get very large.
This suggests to me that it should be an optional feature. Perhaps in a submodule?
Note that this patch provides no UI for changing permissions.
Comment #6
Eric Yang commentedThank you for posting the patch. It seems really helpful.
But I don't know which version of the module this patch was built against. It is not the Beta Version.
So I then just reinstalled the latest dev release from today (2011-06-09) and applied the patch manually.
but then I started getting error messages due to missing functions.
Could I either get a new 'git diff' patch against today's release OR could you please tell me which version of module this patch was built against?
Thanks a lot!
Comment #7
agentrickardThis is against 7.x-1.x. See the git instructions tab on the project page.
It needs work. The data storage model (database schema) is not right.
Comment #8
agentrickardChanging version.
Comment #9
Taxoman commented+1, an important distinction.
Comment #10
agentrickardThis is partially fixed by #1216356: Reviewer roll with no edit permissions can edit and save draft of an article, which uncovered a dumb oversight in the permission handling.
Comment #11
Eric Yang commentedSounds great, I am going to install the Beta8.
Comment #12
agentrickardRight, so that solves part of the problem.
Re-titling this issue more in line with the patch,
Comment #13
robeano commentedLowering priority since there is a work around for now (see comment #2).