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

Add better 403 error message for Job template create #15307

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

TheRealHaoLiu
Copy link
Member

@TheRealHaoLiu TheRealHaoLiu commented Jun 27, 2024

SUMMARY

To create Job template u need access to projects and inventory

JIRA: https://issues.redhat.com/browse/AAP-25603

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION

ADDITIONAL INFORMATION

@TheRealHaoLiu TheRealHaoLiu force-pushed the better-error-message-on-job-template-create-403 branch from ec2d6a9 to 4851bda Compare June 27, 2024 19:25
awx/main/access.py Outdated Show resolved Hide resolved
awx/main/access.py Outdated Show resolved Hide resolved
@TheRealHaoLiu TheRealHaoLiu force-pushed the better-error-message-on-job-template-create-403 branch 2 times, most recently from 79c3ca0 to a10e228 Compare June 28, 2024 00:05
To create Job template u need access to projects and inventory
@TheRealHaoLiu TheRealHaoLiu force-pushed the better-error-message-on-job-template-create-403 branch from a10e228 to 6cc9060 Compare June 28, 2024 14:11
@chrismeyersfsu
Copy link
Member

A unit/functional test would be nice here.

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

Successfully merging this pull request may close these issues.

None yet

3 participants