Closed (fixed)
Project:
Organic Groups
Version:
7.x-2.x-dev
Component:
og.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2012 at 16:45 UTC
Updated:
17 Sep 2013 at 17:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
hernani commentedAnd patch attached!
Comment #2
hernani commentedChanging status.
Comment #3
amitaibuI would expect the rule to pass the role as-well.
Comment #4
hernani commentedWhat should be the variable type of the role?
Comment #5
maximpodorov commentedMaybe it's a separate issue...
Is it possible to add new actions which grant and revoke user role?
Something like this:
Comment #6
othermachines commentedI need this, so I've created a new patch against 7.x-2.x. It passes in the role id.
Comment #7
pippopeppe commented#6: og-add_og_role_events-1816800.patch queued for re-testing.
Comment #8
othermachines commentedRerolled without whitespace errors.
Comment #9
amitaibuWhy hardcode to node?
Comment #10
othermachines commentedYou know, that's a very good question. Again...
(Also fixed a small typo.)
Comment #11
amitaibuentity_metadata_wrapper() can get the $uid, no need to user_load() it.
Comment #12
othermachines commentedAgain...
Comment #13
amitaibuCommitted, thanks.