Created attachment 1413092 [details]
Description of problem:
Restricted user get 'Cannot read property 'href' of undefined' while adding credentials
Version-Release number of selected component (if applicable):
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
'Cannot read property 'href' of undefined' shown to user
no errors should appear
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?
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?
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Milan Zazrivec <email@example.com>
AuthorDate: Wed Apr 25 06:02:10 2018 -0400
Commit: Milan Zazrivec <firstname.lastname@example.org>
CommitDate: Wed Apr 25 06:02:10 2018 -0400
Disable credential / repository form when embedded ansible unavailable
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]
I've got Embedded Ansible service is not available. error for 22.214.171.124 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.