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

[RBAC] Add something to show general global capabilities for a user #154

Open
AlanCoding opened this issue Feb 21, 2024 · 1 comment
Open
Labels
api API related item app:rbac enhancement New feature or request

Comments

@AlanCoding
Copy link
Member

Take the AWX /api/v2/me/ endpoint. This proposes to show a dictionary of all the permissions that user has in the abstract.

This would include or not include "awx.add_inventory" based on whether the user has any general capability to add an inventory to any organization.

This information would be used by the UI to show or hide the "ADD" button in the inventory view.

@AlanCoding AlanCoding added enhancement New feature or request api API related item labels Apr 1, 2024
@AlanCoding
Copy link
Member Author

Unclear where this data would be surfaced, so not apply the read-to-work label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API related item app:rbac enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant