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

As Designed Private categories & forums bug

Discussion in 'Resolved Bug Reports' started by SeVeN, Oct 6, 2010.

  1. SeVeN

    SeVeN Active Member

    Created a category in the category forum. Has disabled the group registered to see this category, and for administrators it too became invisible...
     
  2. Dismal Shadow

    Dismal Shadow Active Member

    That's because the admin is in the Registered group. Remove that group from the admin.
     
  3. SeVeN

    SeVeN Active Member

    Try it for yourself to come to this error. Follow me, described in the first communication steps
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Are you using Revoke or Deny when you restrict the Registered group?

    The admin after a new installation is actually a member of Registered. I am guessing that you set Deny permissions for Registered which would have overridden the permissions granted by the Administrative group. Try using Revoke instead of Deny.

    See this thread about permissions:

    http://xenforo.com/community/threads/whats-the-difference-between-permission-types.5083/
     
    SeVeN likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    The behavior is correct, given the user group setup here (secondary groups) and the way permissions work.
     
  6. SeVeN

    SeVeN Active Member

    Thanks! I solved this problem :)
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Hmm. I tested this and I am a little confused. Unless I am misunderstanding how things are supposed to work, it appears that inheritance isn't working properly.

    Looking at the Node Permissions... if you have a user in two groups, where group1 has an explicit Revoke and group2 has an inherited Allow, then the result is an overall Revoke. Is that normal? Shouldn't this result in an overall Allow? It seems as though an explicit Revoke in the Node Permissions is overriding of an inherited Allow. There is no inheritance. If I change the inherited Allow to an explicit Allow then it works (results in overall Allow).
     
  8. Mike

    Mike XenForo Developer Staff Member

    An explicit revoke overrides anything inherited (except for a deny). Revoke says you are explicitly removing the permissions here, and thus you have to have an explicit allow to regain them.
     

Share This Page