7

When a user is editing/creating a node, there is a field where the user can choose what groups to post the content to. I want this field to list only groups the user is actually a member of. Is there a setting for this? If there isn't, what is the best way to code this?

2
  • This should be the default behavior of a site using OG. Can you provide more details that may help figure out why this isn't the case in your configuration?
    – jhedstrom
    Mar 31, 2011 at 3:54
  • You aren't using user 1 when testing this?
    – Fuzzy76
    Apr 6, 2011 at 11:09

1 Answer 1

3

The default is to provide all groups you have access. An administrator account that has access to all the groups would get a list with all the groups. This happens, for example, with the user #1.

The only way to avoid that is not using an administrator account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.