include the access control settings in the node form
stefan_seefeld - September 28, 2007 - 15:14
| Project: | Content Access |
| Version: | 5.x-1.5 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
I'v just installed the content access module, and I really like it !
However, I find a little unintuitive (and insecure) the way per-node access control
is handled:
I would expect node authors to be offered access control forms on the node
creation page. However, it seems the expected work-flow is to 1) create a node
(with full access control as per the content-type-specific settings), and only then
2) change access control parameters.
Thus, there is some time between 1) (node creation) and 2) (node editing) where
access control is granted to everybody.
Am I missing something ?
THanks,
Stefan

#1
I was also thinking aboout nodeaccess.module
A user has to submit it first, then edit it and click `grant' tab
#2
Sorry the original title was changed
#3
hm, I don't use the module this way, but yes this might be not ideal for newly created nodes. Feel free to provide a patch, that improves that. :)
#4
Has anyone managed to add this functionality?
#5
this is a patch.
Notes:
-Only works with ACL 5.x-1.x-dev
-workflow-ng is not tested.
#6
#7
#8
has anybody tested this patch yet?
Unfortunately I'm using D6 so I'm unable to test it at the moment.
It would be an absolutely usability improvement if this feature could go into the content access core - even if only as an option.
#9
The patch works. It also works with the latest stable ACL module. I haven't tested the workflow-ng.
Does anyone know how to hide, disable, or filter the roles?
I've tried modifying the hook_form_alter so I can use '#disabled' for the checkboxes. It seems to me it uses checkboxes so I guess there is no attribute to disabling an option. If I try to disable a checkbox for a 'View', 'Edit', or 'Delete' column under Role Access Control, it disables all the checkboxes.