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

Survey permission for Job Template is incorrect in UI #15378

Open
6 of 11 tasks
Ruud-cb opened this issue Jul 18, 2024 · 2 comments
Open
6 of 11 tasks

Survey permission for Job Template is incorrect in UI #15378

Ruud-cb opened this issue Jul 18, 2024 · 2 comments

Comments

@Ruud-cb
Copy link

Ruud-cb commented Jul 18, 2024

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 security@ansible.com instead.)

Bug Summary

Permissions in the UI seems incorrect versus what my permissions actually are. I'm logged in as admin and should have all permissions.

AWX version

2.19.1

Select the relevant components

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

Installation method

minikube

Modifications

no

Ansible version

v24.6.1

Operating system

macOS

Web browser

Chrome

Steps to reproduce

  • Create a Job Template
  • Go to Survey page, notice able to create a Survey
  • Create a survey, doesn't matter which options
  • After creation, coming back at the Surveys page, not able to create another survey and not able to delete the survey that was just created.

Expected results

Expected to create multiple Survey questions for Job Templates.

Actual results

Template where the issue was first noticed:

image

Template new created, able to add a survey:
image

After creating, back at the page again and no option to create another survey.
image

Also not able to delete it, it's allowed but nothing happens:

image

The survey still exists.

Additional information

AWX runs locally in a minikube kubernetes environment, following the official docs using the kustomization.yaml

@djyasin
Copy link
Member

djyasin commented Jul 24, 2024

Hello @Ruud-cb,
Thank you so much for providing so many great details in your description! We are trying to determine how best to address your concern. Can you let us know if you are able to perform this action via the API? Or does this issue appear to only be occurring via the UI?

Thank you for your time!

@vibescirca81
Copy link

Just following up on this because I ran into it myself. It only seems to happen with the New UI. Reverting to the old one allows me to CRUD the survey.

Definitely a bug

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

3 participants