roles: Missing resource type "Repository" while adding permissions to selected role
|Assigned To:||Walden Raines|
|Target version:||Sprint 34|
|Velocity based estimate||-|
|Release||Katello 2.0||Release relationship||Auto|
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1112255
Description of problem:
I'm not sure if its a bug or a expected behaviour, but I didn't find "Repository" Resource type. I can see "Product" and it has permissions like: view, edit, create etc.
Let's say I want user A to promote and publish a repo to next env. Then there is no way to select repository.
If I want to sync a specific repo. OR if I want a userA to upload contents to repoA
Version-Release number of selected component (if applicable):
sat6 beta snap10 compose2
Steps to Reproduce:
1. Create role
2. add permissions, select resource type
Missing resource type "Repository" while adding permissions to selected role
Repository resource type should be available
Fixes #6553/BZ111225: add "repositories" to product resource type name.
There was some confusion about Repository permissions being underneath
Products. This commit simply updates the resource type name to make
it obvious that repositories are also affected by these permissions.