Download & Extend

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

Project:OG Audience
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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

Status:fixed» closed (fixed)

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

nobody click here