Created attachment 1413092 [details] flash_error Description of problem: Restricted user get 'Cannot read property 'href' of undefined' while adding credentials Version-Release number of selected component (if applicable): 5.9.2 How reproducible: 100% Steps to Reproduce: 1. Enable embedded ansible 2. Create a restricted user(restriction with tag) 3. Add add tag to one credential 4. Navigate to credentials 5. Navigate to add new credentials page Actual results: 'Cannot read property 'href' of undefined' shown to user Expected result: no errors should appear Additional info: no errors in logs
Not a regression - Confirmed by reporter
How exactly did you set that restricted user, as you're mentioning it in the initial comment? Thanks.
Created a group with tag for restriction set in 'My Company Tag' filters on a group page
I'm still unable to reproduce. Could you please provide exact steps you took to set the new user? Especially the group & tags part. Or, perhaps, is there a running appliance showing this problem? Thanks.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3840
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/5880a301a244c31607b5d315f575da6f1244b8fd commit 5880a301a244c31607b5d315f575da6f1244b8fd Author: Milan Zazrivec <mzazrivec> AuthorDate: Wed Apr 25 06:02:10 2018 -0400 Commit: Milan Zazrivec <mzazrivec> CommitDate: Wed Apr 25 06:02:10 2018 -0400 Disable credential / repository form when embedded ansible unavailable https://bugzilla.redhat.com/show_bug.cgi?id=1560527 app/assets/javascripts/controllers/ansible_credentials/ansible_credentials_form_controller.js | 7 +- app/assets/javascripts/controllers/ansible_repository/repository_form_controller.js | 1 + app/views/ansible_credential/_credential_form.html.haml | 26 +- app/views/ansible_repository/_repository_form.html.haml | 47 +- 4 files changed, 47 insertions(+), 34 deletions(-)
Created attachment 1454376 [details] add_error I've got Embedded Ansible service is not available. error for 5.10.0.1 build
Why has this been flipped back to ON_DEV?
The error shown in https://bugzilla.redhat.com/show_bug.cgi?id=1560527#c10 is actually expected here, given the user in question doesn't have access to embedded ansible service (seeing the user is restricted).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212