1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 I can't get this right...

Discussion in 'XenForo Questions and Support' started by bart, Oct 19, 2013.

  1. bart

    bart Active Member

    I have the normal usergroup registered users.

    I have two usergroups men (usergroup 8) and women (usergroup 9) And I have two nodes. One for men, one for women. Let's call them "Cars" and "Shopping".

    How do i set up permissions that women can't access the Cars-node and men can't see the "Shopping"-node.

    I tried a lot of thing, but it doesn't work.

    For example in the cars-node I would think this would work:
    - registered users: all revoked (no one can see the cars)
    - men: acces granted
    - women: no setting

    No one can enter.

    This doesn't work either:
    - registered users: inherited (meaning: access)
    - men: acces granted
    - women: access revoked

    Women can still enter.

    This is difficult...
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member


  3. Martok

    Martok Well-Known Member

    I would have thought that your first lot of settings should have worked.

    According to this:


    Revoke + Allow = Overall Yes
    Inherited Allow + Revoke = Overall No

    so surely what you are doing

    Inherited Allow + Revoke + Allow = Overall Yes ??

    I assume the setting you are using here is the View Node one within these forums?
    Have you tried analysing permissions just to check if there's nothing else set that's causing this not to work?

    I'd have thought that a better way to do it though would be to make both of these nodes Private, then grant permission to (i.e. set View Node to Allow) for the group that you wish to access the forum.

    **Edit** Ninja'd!
  4. Martok

    Martok Well-Known Member

    @Jake Bunce out of interest, why wouldn't the OP's first method work i.e. Inherited Allow + Revoke + Allow?

    I use private nodes to restrict access but this is the one thing that has confused me.
  5. bart

    bart Active Member

    I seem to have it working now.

    - registered users: all revoked (no one can see the cars)
    - men: acces granted
    - women: all revoked (instead of no setting)

    This looks like it's working...
    No private node's.
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Inherited Allow only prevails when there are no explicit Revokes. An explicit Revoke trumps inherited access and can only be overridden by an explicit Allow.

    The "Private node" option is better.
  7. bart

    bart Active Member

    I was wrong, this doesn't work after all.

    What would be the right setting, you say? Why doesn't this work:

    - private node: yes
    - registered users: all revoked
    - women: all revoked
    - men: forum permissions allowed
  8. Martok

    Martok Well-Known Member

    You don't need to revoke anything with a private node. All you need to do is Set View Node to Allow for the group that you wish to access it.


    - private node: yes

    And for the View Node permission

    - registered users: inherit
    - women: inherit
    - men: allow

    All other permissions can be left as inherit unless you want to give permissions to the men that they don't have in their group permissions.

Share This Page