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 auditor_role for projects and inventory #3668

Closed
AlanCoding opened this issue Apr 10, 2019 · 2 comments
Closed

Add auditor_role for projects and inventory #3668

AlanCoding opened this issue Apr 10, 2019 · 2 comments

Comments

@AlanCoding
Copy link
Member

ISSUE TYPE
  • Bug Report
SUMMARY

Users with admin_role to a project do not have permission to see all the job templates that employ that project. Yet, organization auditor_role will get permission to view those templates.

If we were to add auditor_role to projects, then we would be able to surface this mechanism to users.

ENVIRONMENT
  • AWX version: 4.0.0
  • AWX install method: openshift, minishift, docker on linux, docker for mac, boot2docker
  • Ansible version: X.Y.Z
  • Operating System:
  • Web Browser:
STEPS TO REPRODUCE

Create a project, grant userA admin_role, grant other users use_role

Have those other users create new job templates with project

EXPECTED RESULTS

Expect userA to see job templates created with that project

ACTUAL RESULTS

userA cannot see any job templates, or jobs.

ADDITIONAL INFORMATION

#3629 is my reason for filing this.

Corresponding to this change, we should offer "audit" entry in user_capabilities for projects, avoiding extra legwork by the client to determine who can and cannot attach a notification template.

It would also make the permissions rules for Notification Templates more simply explainable. Auditor role will be necessary for the resource, notification_admin_role for the notification template, and if auditor role is not present for the resource, read role will suffice.

Ping @wenottingham @mabashian

@AlanCoding AlanCoding changed the title Add auditor_role for projects Add auditor_role for projects and inventory Aug 12, 2019
@AlanCoding
Copy link
Member Author

Also relevant to #3903, and is kicked of out scope of that feature for now.

@gamuniz
Copy link
Contributor

gamuniz commented Apr 11, 2023

closing per @AlanCoding

@gamuniz gamuniz closed this as completed Apr 11, 2023
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