can i override "content access" behavior with a higher ac weight?

i granted permission to edit nodes of the content type "Place" to all authenticated users...

but if the owner of the place request, i want to grant the permission just for him overriding the content access permission...

it's possible?

thanks!

CommentFileSizeAuthor
#10 _r1_c1.png44.46 KBbrunorios1
#8 acl.png41.21 KBbrunorios1
#6 acl.jpg79.91 KBbrunorios1

Comments

salvis’s picture

Status: Active » Fixed

Yes, I think that should work, but you'll need another module to drive ACL.

Install DNA (as displayed when you created this issue) and enable its debug mode, so that you can see what you're doing and what effect it has.

Let us know how it works out...

brunorios1’s picture

dna?

salvis’s picture

brunorios1’s picture

with "but you'll need another module to drive ACL" you're saying that after i enable DNA i'll have to create a custom module to do what i need?

or this "another module" exists?

thank you...

salvis’s picture

Your description is far too vague for me to design a solution, and that's not my job anyway.

Clearly, ACL doesn't do anything on its own and it has no UI, as the front page says. Depending on what you want to do, you may be able to implement it with the Rules module, you may find another module that helps, or you'll have to write your own module to drive ACL.

brunorios1’s picture

StatusFileSize
new79.91 KB

thank you for your support!

i want to uncheck the permission for the "membro" role in a specific node using ACL...
but when i go to the node control access, node/3/access, the checkbox for "membro" is disabled...
(screenshot is attached)

why i can't unckeck the "membro" role permission?
it's working as designed?

thank you!

salvis’s picture

ACL has (almost) no user interface.

The screen that you posted belongs to the Content Access module.

Again, install DNA — it will tell you what kind of access that 'membro' has.

brunorios1’s picture

StatusFileSize
new41.21 KB

in this node (3) i need to remove the edit permission for all the "membro" users (red arrow) and grant just for the user "Dono do Hangar" (blue arrow)...

but as you can see in the last screenshot i've posted, i can't uncheck the checkbox for the "membro" role in the node control access...

thank you again!

salvis’s picture

What does it tell you if you "hover your mouse over each result for more details"? specifically over the "YES" under "update"?

In the upper table you see that "update" is all zeros. This means that it's not the node access mechanism that's granting the edit permission.

brunorios1’s picture

StatusFileSize
new44.46 KB

the hovers:

salvis’s picture

So, your users have the 'edit any place content' permission. Go to admin/user/permissions and remove it.

brunorios1’s picture

but if i remove this permission in admin/user/permissions, it will affect all the nodes, and i need that all the users can edit any place content, except the node 3...

i need to remove this permission just for the node 3, and leave the permission to edit all the other nodes of the same content type to all the other "membro" users...

as i said in a previous post:

"in this node (3) i need to remove the edit permission for all the "membro" users (red arrow) and grant just for the user "Dono do Hangar" (blue arrow)"

resuming:

edit any place content - all "membro" users
edit place id 3 - just "Dono do Hangar" user

thanks you again!

salvis’s picture

This is not possible under D6.

brunorios1’s picture

:(

bad news...

at least now i know that's not possible...

thanks for the quick help and for your module!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.