Hide the block for unauthorized users / certain other roles. Not everyone should see the full list.

Comments

druvision’s picture

The general rule should be: I can only see the groups for which my role is participating.

Example: If I am a registered user, I can't mark a post as "Only for admins" if I am not an admin. But I can mark a post as "only for members" if the "only for members" groups include both admins and registed users.

jjeff’s picture

Right now, the simple_access "blocks" (a.k.a. checkbox groups) are located in the 'admin' area of the node add/edit pages. This is the area at the top with 'authoring information', 'options', and 'user comments'. The items in the admin area are only available to user roles with "administer nodes" access set in 'admin/access'. Node administrators can view and edit all nodes regardless of the node's access settings. So it doesn't quite make logical sense to add this feature, because anyone who can see the simple_access blocks can also see/edit all nodes.

Are you allowing unregistered users to administer nodes? This would allow them to edit and delete nodes as well as change post user information and enable/disable comments. Probably inadvisable even for wiki-type sites.

If you want users to be able to create nodes that are editable by other users in their group, you should probably look into the Organic Groups module.

Unless I'm misunderstanding your request, I think it's kind of out of scope for this module. I really want to keep this module simple and true to its name.

-Jeff

druvision’s picture

Status: Active » Closed (fixed)

Thanks for a great module. Thanks for the clarifications.
I should have checked it in all possible situations, before opening the issue.
I am now closing it.