Bug 1443817

Summary: [RFE] Permission error should show the exact missing permissions for the user on katello pages
Product: Red Hat Satellite Reporter: Mahesh Taru <mtaru>
Component: AuthorizationAssignee: Marek Hulan <mhulan>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.8CC: bbuckingham, dhlavacd, mhulan, mtaru
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-28 10:57:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
permission that's missing is listed none

Comment 3 Marek Hulan 2017-04-20 06:38:16 UTC
Created attachment 1272866 [details]
permission that's missing is listed

Comment 4 Mahesh Taru 2017-04-20 06:49:57 UTC
Hello Marek,

Example:
1. Create user with all possible permissions but without administrator flag.
2. Try to assign host to host collection
3. Or Login satellite as non-admin user --> Hosts --> Host Collection --> Click on host collection name --> Collection actions --> Errata installation --> Select errata --> click on drop down of 'install selected' --> select 'via remote execution' or 'via remote execution -customize first'

Thank you.

Comment 5 Marek Hulan 2017-04-20 07:27:37 UTC
Thanks for update. For the assigning host collection, there's no possibility for user to do this since he does not see Add tab correct? That is tracked under BZ 1390919 already. There might be other katello pages where the permission is not printed, that's tracked under BZ 1418269. So I think this might be a duplicate?

Comment 6 Mahesh Taru 2017-04-20 07:35:23 UTC
Hello Marek,

Thank you for update.

Yes I think this can be marked as duplicate of #1418269.

I did not found this bugzilla hence filed new.

Thank you once again.

Comment 7 Brad Buckingham 2017-04-25 17:13:39 UTC
Marek, should this be closed:duplicate based on comment 6?

Comment 8 Marek Hulan 2017-04-28 10:57:56 UTC
Thanks for confirming Mahesh, next time please go ahead and close the BZ as duplicate right away to avoid message ping pong :-)

*** This bug has been marked as a duplicate of bug 1418269 ***