1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 05:25:29 +03:00
Commit Graph

5983 Commits

Author SHA1 Message Date
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
Akita Noek
ec3f184737 Merge pull request #922 from anoek/rbac
RBAC refactoring and first pass at ORMification
2016-02-12 10:19:30 -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
Akita Noek
319252f555 Finish removing our raw SQL implemenations from our mixins
Boiled out our current-best ORM implemenations. These can likely be
optimized further, but are adequate for the time being.
2016-02-12 10:16:29 -05:00
Wayne Witzel III
10e73ebc2e Update rbac.md
Updated Role model docs
2016-02-12 09:41:30 -05:00
Akita Noek
72419f7eb9 Generically handle automatic role rebinding through m2m relations 2016-02-11 16:59:32 -05:00
Akita Noek
9a3ef6b998 ORMified RBAC classes; Added GenericForeignKey backref for convenience
The RoleHierarchy table has been eliminated in favor of just using
a ManyToMany map, which is what we should have been using all along.

ORMifications still need improvement, in particular filtering on
ResourceMixin.accessible_by should reduce permission calculation
overhead, but with the current implemenation this is not true.
ResourceMixin.get_permission performs adequately but not as good
as it can yet.
2016-02-11 16:18:44 -05:00
Akita Noek
ac7d50048c Removing unused resource_parent
Forgot to remove these bits when we removed the concept a few commits
ago
2016-02-11 16:18:44 -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
5da2b7ca5b Merge pull request #906 from wwitzel3/rbac
Added initial rbac doc
2016-02-10 17:09:03 -05:00
Wayne Witzel III
86c528154b Added initial rbac doc 2016-02-10 17:07:03 -05:00
Akita Noek
4bc9ca2096 Merge pull request #905 from wwitzel3/rbac
RBAC tests and fixes
2016-02-10 15:22:11 -05:00
Wayne Witzel III
6877a7a566 added Group.parents rebuilding 2016-02-10 15:13:24 -05:00
Wayne Witzel III
020fda658a Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-02-09 10:28:31 -05:00
Wayne Witzel III
9f0e4669df added TeamAccess tests 2016-02-09 10:28:15 -05:00
Wayne Witzel III
3ef9baaa8b added OrganizationAccess tests 2016-02-09 10:28:03 -05:00
Akita Noek
2de6bdd5c3 Merge pull request #886 from anoek/rbac-devel-integration
Pull in latest patches on devel
2016-02-09 09:51:14 -05:00
Akita Noek
29f8d6b778 Merge branch 'devel' of github.com:ansible/ansible-tower into rbac-devel-integration 2016-02-09 09:47:29 -05:00
Wayne Witzel III
ca67772d9f Merge pull request #884 from anoek/rbac
User and Project migration & testing
2016-02-09 09:17:47 -05:00
Akita Noek
a03d48eeb7 Add member_role to organizations 2016-02-08 22:54:19 -05:00
Akita Noek
a2b9777cc7 Add migrate_users and migrate_projects to our migration plan 2016-02-08 22:54:19 -05:00
Akita Noek
34067d9c0e Project migration and tests 2016-02-08 22:54:19 -05:00
Akita Noek
d51447e158 Migration and tests for super users 2016-02-08 22:54:19 -05:00
Akita Noek
5008e3faf5 Add parent System roles to organization roles 2016-02-08 22:54:19 -05:00
Akita Noek
f7dc3c0f0d Added an explicit member role, distinct from auditor role 2016-02-08 22:54:19 -05:00
Wayne Witzel III
916dfb62cc Merge pull request #881 from wwitzel3/rbac
flake8 fixup
2016-02-08 18:19:02 -05:00
Leigh Johnson
cd6f42ee68 fixes #875 - init bootstrap modals with backdrop: "static" option 2016-02-08 17:16:26 -05:00
Wayne Witzel III
0ba7992004 flake8 fixup 2016-02-08 16:37:05 -05:00
Akita Noek
6df8017cb1 Merge pull request #877 from wwitzel3/rbac-port-migrations
Convert migrate_to_rbac method to Migrations
2016-02-08 16:30:35 -05:00
Wayne Witzel III
e71de34cc1 convert Inventory to django migrations 2016-02-08 16:22:41 -05:00
Wayne Witzel III
f29fdf694f convert Team to django migrations 2016-02-08 16:06:12 -05:00
Wayne Witzel III
8cf0ba0da7 convert Credential to django migration 2016-02-08 15:54:11 -05:00
Wayne Witzel III
1ed18e4561 convert Organization to django migration 2016-02-08 15:53:48 -05:00
Wayne Witzel III
b8a7ad17ea Added initial rbac migrations 2016-02-08 15:33:59 -05:00
Wayne Witzel III
0d868b702e Merge pull request #817 from wwitzel3/rbac
flake8 fixups
2016-02-08 11:33:21 -05:00
Wayne Witzel III
9ddabeff83 flake8 fixups 2016-02-08 10:32:55 -05:00
Akita Noek
1418e95155 Merge pull request #813 from anoek/rbac 2016-02-05 17:05:30 -05:00
Akita Noek
70229076d2 Removed unnecessary ResourceHierarchy model 2016-02-05 17:03:59 -05:00
Akita Noek
fe29486d7b Removed unnecessary save() 2016-02-05 17:01:19 -05:00
Akita Noek
619e5797d4 RBAC inventory migration tests 2016-02-05 16:59:38 -05:00
Akita Noek
d5740408e9 Addd inventory fixture 2016-02-05 16:59:22 -05:00
Akita Noek
9f33835582 Added RBAC migration code 2016-02-05 16:58:41 -05:00