Description of problem:
A user/role which grants/who has only has Remove Provider verb cannot actually see any providers in order to be able to remove any.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new user, "removeproviders"
2. Create a new role, "removeproviders_role"
3. Grant new permission, "removeproviders_perm" with verb "Remove Providers"
4. Login with user 'removeproviders'
5. Navigate to Content Management tab
User cannot see any providers!
I'm not sure if this is a bug or not but it sure is awkward. Submitting for dev/uxd consideration.
FWIW, other CRUD roles - particularly, Create and Manage, both do seem to implicitly allow read access too
In Katello Create/Update/Remove automatically implies read.
But I am unable to reproduce this issue. Is it possible that you had "Remove" with no specific provider selected? Try selecting a specific provider for this remove provider permission and let me know if you can't read still do the read. You can also say the user can remove all providers in the permission. Either way 'Remove' will only work if you have a provider you can remove. Merely selecting the verb won't do much good. Any I am going to resolve this as ON_QA. Fail back if you are still hitting this issue.
I just confirmed this still happens. User was created, and granted a (global) role with only one permission - delete providers. However, upon logging in, user cannot see providers from the Content Management > Providers tab.
BTW, version (re)tested in comment #3 above:
Partha, please note:
"User cannot see any providers!"
As such, re: "Is it possible that you had "Remove"with no specific provider selected?" - this would be impossible. I cannot remove providers if I cannot see them in the first place.
This appears to be working upstream as of 909cf6dc7ea400013a06f1e3494d216ee67e5bee
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.
This was delivered with 6.0.3, which is the Satellite 6 Beta.