I want to define a capability for “Download Manager” to be able to add it or remove it from a certain role.
For example, I don’t want the “Author” role to be able to use the “Download Manager” from dashboard. I don’t want the “Download Manager” menu to appear at all in the administration dashboard for Authors. To achieve this, I need to add a special capability for the Download Manager plugin (by modifying the name in the download-manager.php file as you suggested previously and using the new name when defining roles).
I did this but still the “Download Manager” menu appears for authors in the admin dashboard in spite of not adding it to the Author role.
What could the problem be? Did I miss something? what is the right thing to do to achieve this?
Thanks a lot for your support
Hope