Bug #6551
closedroles: UI neither raise any error not adds the content-hosts to selected collection via a normal user
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1112644
Description of problem:
I was trying to manage host-collections via a normal user. I created a user and assigned all required perms. So user was able to create collection but not able to add selected content-hosts to it. Content-hosts were listed under host-collection. when I clicked add-selected, nothing happened on UI, neither the validation error raised on UI nor content-host was added to collection.
Version-Release number of selected component (if applicable):
sat6 beta snap10 compose2
How reproducible:
always
Steps to Reproduce:
1. create a role with perms as mentioned in screenshot
2. create few dummy content-host
2. assign that role to a user
3. login with user and try to add created content-hosts to host-collection
Actual results:
UI neither raised any error not add the selected hosts to host-collection
Expected results:
In any case, this situation is very confusing, because neither I get 403 forbidden message nor I was able to add hosts to host-collection.
If I'm missing any permission then a error should be raised that user is not authorized.
Additional info:
Updated by Eric Helms over 10 years ago
- Category set to Web UI
- Target version set to 49
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by The Foreman Bot over 10 years ago
- Pull request https://github.com/Katello/katello/pull/4413 added
- Pull request deleted (
)
Updated by Walden Raines over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100