Permission dependency check

Snog

Well-known member
#1
I noticed this in XF1 and it continues in XF2.

If a permission has a dependency (depends on X permission) it can still be set in the permission system if the dependency isn't met.

Isn't there some way to check if the dependency isn't met and not allow the permission to be set to "Yes" if the dependency isn't met?

I understand the permission would be denied by the permission system itself, but it can be confusing if you're allowed to set a permission that doesn't meet a dependency. And the fact that it's visually set on the permission screens makes it even more confusing.

Perhaps hide the permission if it can't be set?
 
Top