✔ User Role Issues: Schools & Clergy
Completed by Ryan R.
- Assigned to
-
Ryan R.
- Notes
-
edit_clergy edit_deacons edit_priests edit_religious edit_schools are all in User Role Editor as an option, but checking any of those has no effect on what users can actually see.
We need to be able to access Clergy and Schools as user role options.
Right now, edit_parishes is the only one that works correctly.
Note for Veronica: Once this is completed, updated Chancellor, Schools Author, and Diaconate user roles.
The add_menu_page() function takes a third required argument of capability. This was originally set to 'edit_theme_files', which at a general level seemed to work and make sense.
Logically, all we would have to do is lower the capability to something like add_posts, or just "read". But to my surprise, that doesn't work. Ironically, if I eliminate the capability (keep in mind that it's required) then viola, the menu and sub menu items work as you would expect.
I tested a Schools admin user and found it working.