I *think* the only issue with a multisite install would be dealing with the user roles. There might be a permissions type issue (eg what sort of things an administrator of one of the sites under a multisite install might be allowed in terms of what roles he/she can give to his users).
I suspected that too. I too have the Librarian
role missing. The only roles corresponding to this plugin are: Volunteer
and Senior Aid
. Also, these roles only appear to me because I am logged in as the Super User.
According to WP Codex, creating and editing users can only be done by Super Admin.
So if someone is logged in as a site Admin and NOT Super Admin, then I suspect those roles will not display. It still doesn’t explain why Librarian is missing, but it is of course not limiting me from Adding Patrons and such.
Checked wp_options
table for values in wp_user_roles
and only the following is there.
s:9:"senioraid";a:2:{s:4:"name";s:10:"Senior Aid";s:12:"capabilities";a:4:{s:4:"read";b:1;s:20:"view_admin_dashboard";b:1;s:17:"manage_collection";b:1;s:18:"manage_circulation";b:1;}}s:9:"volunteer";a:2:{s:4:"name";s:9:"Volunteer";s:12:"capabilities";a:3:{s:4:"read";b:1;s:20:"view_admin_dashboard";b:1;s:18:"manage_circulation";b:1;}}
I suspect adding roles in a Multisite install might be different. Also, I did not activate the plugin Network wide. I only activated it on the primary site.
There are lots of variables in action here, so not certain why all but one of the roles will not get added.
While I was writing this, I did some other tests. Created another Admin
user for primary site.
This user, does not get any of the capabilities from this plugin, nor does it get assigned other roles. Hence, all it is able to do is to Edit Patron Info
from under Users
menu, which allows it to effectively assign itself any of the available Patron IDs. Once it’s been assigned that, it is able to edit patron info, and other menu items appear, such as holds
and checkouts
.
What I also found was that manage_patrons
capability is missing from the database. As I understand, a role with such cap was never created. Which explains why Librarian
role is missing.
Is this helpful in debugging?