28 Apr
2009
28 Apr
'09
6:16 p.m.
Quoting LluĂs <enboig@gmail.com>:
After reading og_user_roles I found I was able to modify $user->roles in hook_boot(); so no more changes are necessary
It is a completely different approach, but everything is simplier in this way; I just need to create a role with the permissions I want, and then at hook_boot(); add the role to the users I want.
Or even easier just add the role to the user via the admin/user/user UI. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/