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

In Permissions - What is Revoke for?

Discussion in 'XenForo Questions and Support' started by Netsultants, Jan 6, 2011.

  1. Netsultants

    Netsultants Active Member

    What is Revoke for?

    I get allow / deny...
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Revoke is used in Node permissions to remove user or usergroup permissions.

    For example, if you have an Announcements forum you would Revoke the posting permission for registered users so they can only read the posts in that forum.
    maszd likes this.
  3. Netsultants

    Netsultants Active Member

    Why would you not just deny?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Deny means never and overrides everything.
    For that reason it should be used sparingly.

    You can however use it in node permissions if you wish.
  5. I am having real trouble with this concept. If everyone is in the Registered as their primary, then as an Admin how do I add a new thread? The Registered group seems to take priority and therefore there is no Post New Thread button, even though I am admin.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Permissions are cumulative.
    The only way Allow can be overridden is if Never is used in another group.

    See this guide: Implementing Permissions
  7. Thanks, I think I figured this out now.

    I've set all the users to be Registered as their primary, with all the permissions set to 'Not Set'.

    In the forum where I only wanted the Admins and Moderators to be able to create new threads, I revoked the 'Post New Thread' for Registered and Unregistered, and allowed it for Admins and Moderators.

    All works fine now :)

Share This Page