WordPress default roles
We have a scenario where we would like WordPress editors to be able to install new libraries / content types.
Looking at your class-h5p-plugin.php line 631
<code>self::map_capability($role, $role_info, 'manage_options', 'manage_h5p_libraries');</code>
I can change that to an editor capabaility to fo this, but don't want to hack the core code.
Any suggestions? Would you be able to add a filter so we devs can return their own set of permissions, or perhaps in the H5P settings allow an option for minimum capability to install new libraries.
The reason is we don't want our editors to have access to themes / plugin changes but we DO trust them to manage their H5P content and unless the content type has already been installed they can't create that item type.