Description of problem: When a user doesn't have perms to the self_service UI, we should either not let them log in or log them in and tell them they don't have perms to view anything, right now we give them a blank dashboard and that's confusing. Version-Release number of selected component (if applicable): 5.6.4, 5.7.2, 5.8.0.9-alpha2 How reproducible: Steps to Reproduce: 1. Setup a user with no permissions that would be valid in SSUI evmGroup-auditor and or evmGroup-vm-user should work. 2. Log in and get a blank dashboard 3. Actual results: When you log in you get a blank dashboard Expected results: Either the dashboard should tell you that you have no perms, or better yet, we don't let you log in and tell you it's a permissions issue. Additional info:
This looks to be a UXD issue, not a technical one.
adding blocker as a thought, this is closely related to bug 1435468 which is a blocker
Please add an error message on the login screen in this case. The text should be: "You do not have permission to view the Service UI. Contact your administrator to update your group permissions." Thanks!
To confirm, if the user has permission to view the dashboad, but the dashboard is blank, refuse their login? (presently if they are able to view an empty dashboard we let them login)
Right, I believe we want to go with comment 7 when we hit this scenario. If they don;t have enough permissions for the service ui to be usable, then we shouldn't let them in.
Thanks for the feedback dave! https://github.com/ManageIQ/manageiq-ui-service/pull/693
I need a list of roles that have SSUI perms, initial testing fails and without a list of valid roles, I'm blocked.
Hi Matt! Unfortunately I do not have a list of roles that have Service UI permissions.
Though roles that have the product features service_view, svc_catalog_provision and catalog_items_view will have "My Services" "My Orders" and "Service Catalog" respectively, enabled. This is subject to change as the new SUI rbac section is being fleshed out.
Verified on 5.9.0.11 Ext Auth FreeIPA/AD/OpenLDAP Also MIQLDAP OpenLDAP, want to test MIQLDAP a bit more.
Verified 5.9.0.17 External Auth: FreeIPA, AD, OpenLDAP