Hi, I think the functionality that you're after could be covered by creative use of hook_node_grants, node_access_grants and your own user access system in OG user roles. I myself have found much of the OG functionality lacking, and would be interested in helping to write these features if you wanted. Core modifications are really not needed, but would indeed save a lot of work! On 29/03/07, Peter Wolanin <pwolanin@gmail.com> wrote:
I think Gerhard's message caught the essential crux of this (i.e. it won't work). However, I think there should be other ways to achieve your goals- it sounds like you are really trying to just require that nodes be in a group? Or maybe restricted to a group for some node types and not others? Maybe you just need some creative use of hook_form_alter and/or node validation?
I suggest that you make a post forum detailing exactly what you want to accomplish, and send to the list a short message with a link, rather than sending all the details to this list.
-Peter
---------- Forwarded message ---------- From: Ron Parker <sysop@scbbs.com> To: development@drupal.org Date: Wed, 28 Mar 2007 23:55:08 -0700 Subject: [development] Proposed user_access / $user->roles hook I'm re-posting this because the last time I got no response. I'm like THISCLOSE to making this work if I can just figure out this last little bit. If anyone has any notion, please share. It might just be the little bit I need to get over the hump. Thanks.
-------- Original Message --------
I am proposing a new project: OG User Roles. I have written to this list before and what I discovered was that I really needed to formulate a proposal for some sort of user_access hook that would include permissions granted from other modules to the final list of permissions for a user during a particular process.
-- Regards Steven Jones