Not a bug Integer Permissions for Content is ignored if global is unlimited

Jeremy

in memoriam 1991-2020
Stemming from this:
http://xenforo.com/community/threads/edit-post-issue.59551/

I've tried my best to follow the code and the best I can come up with is that XenForo_Model_Permission::_getMergedPermissionPriorityValue() will always favor an unlimited value over a stricter content permission value.

I'm reporting this, although I'm not entirely convinced it is a bug (although content should override it in my mind).
 
Integer values don't have the "priority" concept of regular permissions -- higher values simply have a higher precedence. As such, they can only be increased. A system of "distance" for content-level integer permissions could theoretically be used but that's a whole thing on its own and changes permission priorities.
 
Top Bottom