ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.93k stars 3.41k forks source link

Erroneous error trying to remove someone's permission to private credential #2599

Open AlanCoding opened 5 years ago

AlanCoding commented 5 years ago
ISSUE TYPE
COMPONENT NAME
SUMMARY

Error:

You cannot grant private credential access to another user

happens on disassociation as well as association

ENVIRONMENT
STEPS TO REPRODUCE

In the UI, create a new private credential as a non-superuser

attempt to remove your own permission to this thing

EXPECTED RESULTS

error message that makes sense

ACTUAL RESULTS

You cannot grant private credential access to another user

In API response

ADDITIONAL INFORMATION

will file UI issue as a separate issue.

jakemcdermott commented 5 years ago

resolved by https://github.com/ansible/awx/pull/2608