Any user who can edit a node should be able to remove it from a group

David Lesieur - June 28, 2008 - 02:51
Project:OG Audience
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

At the moment, a user may remove a node from groups only if he/she is an admin of those groups or is both the node's author and a member of those groups.

Actually, anyone who has the permission to edit the node should have that right.

For non-admins, we need to check node_access('update') rather than $node->uid, and ignore the user's group subscriptions.

#1

David Lesieur - June 28, 2008 - 07:23
Version:5.x-1.1» 6.x-1.x-dev
Status:active» fixed

Further explanation: OG allows any user who can edit the post to remove it from groups (from the node edit form). OG Audience should grant the same right. Done.

#2

Anonymous (not verified) - July 12, 2008 - 07:24
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.