25 Commits

Author SHA1 Message Date
Alan Rominger
817c3b36b9 Replace role system with permissions-based DB roles
Develop ability to list permissions for existing roles

Create a model registry for RBAC-tracked models

Write the data migration logic for creating
  the preloaded role definitions

Write migration to migrate old Role into ObjectRole model

This loops over the old Role model, knowing it is unique
  on object and role_field

Most of the logic is concerned with identifying the
  needed permissions, and then corresponding role definition

As needed, object roles are created and users then teams
  are assigned

Write re-computation of cache logic for teams
  and then for object role permissions

Migrate new RBAC internals to ansible_base

Migrate tests to ansible_base

Implement solution for visible_roles

Expose URLs for DAB RBAC
2024-04-11 14:59:09 -04:00
Alan Rominger
b14518c1e5
Simplify RBAC get_roles_on_resource method (#14710)
* Simplify RBAC get_roles_on_resource method

* Fix bug

* Fix query type bug
2023-12-14 10:42:26 -05:00
Alan Rominger
adb1b12074
Update RBAC docs, remove unused get_permissions (#14492)
* Update RBAC docs, remove unused get_permissions

* Add back in section for get_roles_on_resource
2023-11-16 11:29:33 -05:00
Joel Tenta
f46c7452d1 Spelling and codespelling corrections from community PR
- Made the choice not to pull in the CI tools due to the possibility of it blocking PRs.

Co-Authored By: Lila Yasin <89486372+djyasin@users.noreply.github.com>
2023-05-24 10:06:42 -04:00
Bill Nottingham
c8cf28f266 Assorted renaming and string changes 2021-04-30 14:32:05 -04:00
beeankha
e2be392f31 Edit AWX docs 2019-09-20 11:32:10 -04:00
Akita Noek
60f76de5c3 RBAC doc updates 2016-05-13 12:01:54 -04:00
Wayne Witzel III
476c43f7a7 Resource fixes
The idea of a resource is an abstract one using Generic Foreign Key and not a concrete one with a model.
2016-04-12 10:38:24 -04:00
Wayne Witzel III
a244af5360 Update Role model method docs. 2016-04-12 10:11:38 -04:00
Akita Noek
380ba8a41d Merge pull request #962 from anoek/rbac
"Completion" of RBAC migrations; resource_field elimination
2016-02-15 13:36:31 -05:00
Akita Noek
aafe521986 doc: ImplicitRoleField after the elimination of resource_field
Completes #926
2016-02-15 12:55:51 -05:00
Wayne Witzel III
61679a47ac Update rbac.md 2016-02-12 11:42:00 -05:00
Akita Noek
0ef004171d doc: Try PNG for github markdown instead of SVG 2016-02-12 11:07:31 -05:00
Akita Noek
a4c435c14e doc: Added an example RBAC picture 2016-02-12 11:02:12 -05:00
Akita Noek
76c2454936 Docs: Added RBAC basic concepts section 2016-02-12 10:44:53 -05:00
Wayne Witzel III
104851e9a5 Update rbac.md
Remove resource_field
2016-02-12 10:18:12 -05:00
Wayne Witzel III
91c21c6c5b Update rbac.md
More documentation changes.
2016-02-12 10:17:15 -05:00
Wayne Witzel III
10e73ebc2e Update rbac.md
Updated Role model docs
2016-02-12 09:41:30 -05:00
Wayne Witzel III
25c48c0077 Update rbac.md
Quick style change.
2016-02-11 11:07:44 -05:00
Wayne Witzel III
1ed0c94c62 Update rbac.md
Added information about the ImplicitRoleField
2016-02-11 11:06:46 -05:00
Wayne Witzel III
e067c4a7c3 Update rbac.md
Fixing some misspellings / typos.
2016-02-10 18:41:46 -05:00
Wayne Witzel III
6bf81b5d11 Update rbac.md
Added more details about the mixin helper methods.
2016-02-10 18:40:08 -05:00
Wayne Witzel III
a0f317928d Update rbac.md
Continue to flesh out more of the rbac documentation and examples.
2016-02-10 18:12:54 -05:00
Wayne Witzel III
4450781662 Update rbac.md
Fixing typo
2016-02-10 17:11:24 -05:00
Wayne Witzel III
86c528154b Added initial rbac doc 2016-02-10 17:07:03 -05:00