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

XF 1.4 Permissions Issue

Discussion in 'Troubleshooting and Problems' started by Alexander Firth, Oct 28, 2015.

  1. Alexander Firth

    Alexander Firth Active Member

    I'm very used to setting up permissions for individual private nodes and I've never had any issue. I've just created a new node, set it to private and given permissions to the relevant usergroup. I did that again today, and a user then told me they couldn't access it properly.

    I double checked I'd also given full permissions on that node for my own admin usergroup and tried to access it myself. I can view the forum, but I have no permissions to post. Nothing is set to revoke or never on any other usergroup, I just used the private node feature as always.

    Any ideas?

    perm error 2.png perm error 1.png
  2. Lawrence

    Lawrence Well-Known Member

    Use the analyse permission tool for yourself and the node. It'll show you the reason you can not post.

    Also, from your permissions SS, why is everything set to allow? Ones already set to allow from another user group (ie: registered), should be set to inherent.
    Amaury likes this.
  3. Alexander Firth

    Alexander Firth Active Member

    perm error 3.png

    They're all set to allow because it's quicker to just hit the 'all allow' button, and being admin there are no permissions I don't want to give myself :p
  4. Martok

    Martok Well-Known Member

    That screenshot is for node permissions, you need to look at the global permissions. I'll wager that you have Never set somewhere.

    @Lawrence is correct in raising the issue of you setting all node permissions to allow. Really you should be using global permissions and only changing node permissions where they differ from the global permissions (doing otherwise can lead to all sorts of problems). I have private nodes and most permissions are taken from the user group permissions (global permissions) with the node permissions touched only when they are different.
    Amaury likes this.
  5. Alexander Firth

    Alexander Firth Active Member

    It's like this the whole way down:

    perm error 4.png

    Regarding allow permissions, why would it be an issue if I want this usergroup to have every permission possible anyway? The allow permission can only overwrite... an allow permission. I can understand for 99% of usergroups, but on a usergroup that isn't supposed to have any 'no' permissions, why would it make a difference? I hope I don't sound rude, I just don't understand why it would be an issue.
  6. Martok

    Martok Well-Known Member

    Fair enough in this case. It was mentioned because I've seen some admins getting in a mess with permissions because they are setting global and node permissions when there's no need to do both and there have been conflicts. :)

    The global permissions seem OK. I notice that the node seems to be a sub-forum. If it is, have you set any Never permissions in any of the parent forums or category?

    If not, does the issue still occur with all add-ons disabled?
  7. Alexander Firth

    Alexander Firth Active Member

    Nope :(
    I'm not sure how an add-on would be responsible as it's just the one node this is happening with. I'm a little reluctant to test because it takes my board a good 15 minutes to re-enable each add-on, and I have dozens. It's a large database and would mean hours of essentially downtime :/
  8. Glockie

    Glockie Well-Known Member

    This may sound silly, but you have to cover all angles I suppose.. But you didn't set the node to private or anything like that when setting it all up?
    Have you checked all the settings on the node itself?
  9. Martok

    Martok Well-Known Member

    It could be possible, depending on the nature of the add-on. Do you have any that could affect posting or permissions?

    This is where it is highly recommended to have a test site that is a duplicate of your live site. You would be able to check out any issues on the test site without affecting your live site.
    Alexander Firth and Glockie like this.
  10. Martok

    Martok Well-Known Member

    OK, something else to check:

    In the ACP, edit the Node and in the Forum Options tab, check to see if "Allow new messages to be posted in this forum" is ticked.
    Alexander Firth likes this.
  11. Alexander Firth

    Alexander Firth Active Member


Share This Page