Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend UI Fails to display role permissions of a Workflow template when assigning all roles to an individual user. #15541

Open
5 of 11 tasks
USB-Coffee opened this issue Sep 19, 2024 · 0 comments

Comments

@USB-Coffee
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

After setting additional roles/permissions on a workflow template the page resets to display "No Role Found, please add roles to populate this list" however there are roles assigned.
The roles are still in place in the back end as the users can still access the workflow as normal.

AWX version

AWX 24.6.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

AWX 24.6.1

Operating system

Ubuntu 22.04 LTS

Web browser

Chrome

Steps to reproduce

Log In as global administrator
Locate an existing workflow template with roles assigned and click the Access tab
Click the Add button
Select Users
Select a normal user
Tick Admin, Execute, Read, Approve
Click Save

Expected results

List of roles under access tab correctly lists all roles applied to the workflow tempalte

Actual results

List turns blank
image

Browser console shows 500 errors acessing https://awx.hostname.com/api/v2/workflow_job_templates/232/access_list/?order_by=first_name&page=1&page_size=5

Additional information

Was mentioned by another user in July with less detail but closed with no explanation. #15372
I am able to reproduce this now. Would be nice if others can confirm.
Deployment method awx-operator 2.19.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant