Permissions Bug
-
Plugin permissions are behaving more like capabilities are cumulative, not or.
Under Settings -> Permissions, if I set to “Authors and above”, I also have to give the manage_options capability to the role or user using a plugin like User Role Editor, in order for the user/role to have access to the weight tracker user data and settings pages. If I change the permissions level to “Editors and above”, access goes away for Authors. If I change the user role to Editor, access is restored, as long as manage_option capability is also set for the user or role.
I also noticed that sometimes the settings pages would load correctly, but the main user data page would have a user permission error and not load. Since this is the page I was primarily testing, I didn’t further diagnose why the sub pages would load when the main page didn’t.
- The topic ‘Permissions Bug’ is closed to new replies.