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

XF 1.5 Prevent Tags in Certain Forums?

Chris D

XenForo developer
Staff member
#2
A node permission being set to "No" would be overridden by a usergroup permission set to "Allow".

To allow it generally, but prevent it in specific nodes, set the node permissions to "Revoke".
 

The Dark Wizard

Well-known member
#3
A node permission being set to "No" would be overridden by a usergroup permission set to "Allow".

To allow it generally, but prevent it in specific nodes, set the node permissions to "Revoke".
Isn't that backwards? Isn't Never(which is what I mean't to say in my first post) the one that makes it so that usergroups can't overwrite it?

Revoke is when you want a usergroup to overwrite it, no?
 

Chris D

XenForo developer
Staff member
#4
Never overrides everything - so even if there is an explicit "Allow" somewhere it will still resolve to a deny.

Revoke will revoke the permission from a user permission or user group permission but it can be overridden by an explicit "Allow" somewhere in the node permission.

For example:

Node 1:
View Node:
Registered: Revoke
Administrative: Allow

Result: Anyone in the Registered user group can't view. Anyone who is in Registered but also in Administrative can view.

Node 2:
View Node:
Registered: Never
Administrative: Allow

Result: Anyone in the Registered user group, regardless of their other user groups, cannot view. The "Never" explicitly overrides any other permission.
 

Chris D

XenForo developer
Staff member
#5
Anyway, back to the original point, if you have a node permission set to "Never" then certainly that should do the trick.
 

The Dark Wizard

Well-known member
#6
Never overrides everything - so even if there is an explicit "Allow" somewhere it will still resolve to a deny.

Revoke will revoke the permission from a user permission or user group permission but it can be overridden by an explicit "Allow" somewhere in the node permission.

For example:

Node 1:
View Node:
Registered: Revoke
Administrative: Allow

Result: Anyone in the Registered user group can't view. Anyone who is in Registered but also in Administrative can view.

Node 2:
View Node:
Registered: Never
Administrative: Allow

Result: Anyone in the Registered user group, regardless of their other user groups, cannot view. The "Never" explicitly overrides any other permission.
Thanks.

I found the problem though: Manage Tags by Anyone

Its a super moderate ability, I made a bug report for it though.
 

The Dark Wizard

Well-known member
#7
Anyway, back to the original point, if you have a node permission set to "Never" then certainly that should do the trick.
Yup!

Thats what I was originally doing, but when I saw it did not work, its when I made this thread.

I noticed that the super moderator ability was messing with it. I made a bug report for it :).