1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
Commit Graph

6550 Commits

Author SHA1 Message Date
Chris Meyers
9f61cefe0b Merge pull request #1205 from chrismeyersfsu/mongoectomy_playbook
Mongoectomy playbook
2016-03-17 10:50:48 -04:00
kensible
cc98c6ce3c Merge pull request #1264 from kensible/688-orgCards-counts
688 org cards counts
2016-03-17 10:48:50 -04:00
Akita Noek
d997e93aa1 Removed attach/detach capabilities from organizations/:id/projects endpoint as it's no longer applicable 2016-03-17 10:07:57 -04:00
Ken Hoes
7443487b00 Removed unused routes 2016-03-17 09:18:01 -04:00
Akita Noek
1827de48af more deprecated_users -> member_role.members fixes in tests 2016-03-17 08:56:02 -04:00
Akita Noek
ecf4d2872a Fixes for schedule tests 2016-03-17 08:55:32 -04:00
Akita Noek
3ca016faaf Revert ScheduleAccess can_* methods to route through other *Access classes
This takes care of all the polymorphic cases, which we'd have to
otherwise handle
2016-03-17 08:53:40 -04:00
Akita Noek
c0245317b3 flake8 2016-03-16 16:48:07 -04:00
Akita Noek
a1202a20ab Added .all()'s needed after active flag filter removal 2016-03-16 16:47:35 -04:00
Akita Noek
8fb9ef37c2 Permission -> RBAC fixes in our inventory tests 2016-03-16 16:43:54 -04:00
Akita Noek
293fd73fe6 Missing .distinct() 2016-03-16 16:43:31 -04:00
Akita Noek
cf3c988330 Missing import 2016-03-16 16:43:13 -04:00
Akita Noek
e770a1f225 Removed unused dashboard inventory graph, doubly useless now that active flag is gone 2016-03-16 15:56:23 -04:00
Akita Noek
d9c80dade6 Active flag removal fallout fixes 2016-03-16 15:55:24 -04:00
Akita Noek
098ff82e7c Updated inventory tests to use new rbac system 2016-03-16 15:07:16 -04:00
Akita Noek
1face5aa28 Dropped unused ResourceMixin from InventorySource 2016-03-16 14:19:31 -04:00
Akita Noek
99d3481976 Ported ad_hoc.py tests to use new RBAC system 2016-03-16 13:46:48 -04:00
Akita Noek
9e79cf733f Added missing permission grants on a Inventory updater and executor roles 2016-03-16 13:46:15 -04:00
Ken Hoes
8ca3a6b2bf Added counts to organizations listing 2016-03-16 13:23:37 -04:00
Akita Noek
55564cc2b4 Fix Credential admin_role to add itself under the user.admin_role when it exists 2016-03-16 13:16:26 -04:00
Matthew Jones
526a6ec7dd Remove unneeded fetch for r/o fields 2016-03-16 13:12:13 -04:00
Matthew Jones
45f95bf2b2 Disallow related elements to be treated as choices
DRF will try to resolve potential candidates into the OPTIONS endpoint.
This is mainly to support their POST field in the browseable API.   We
don't need this and it can yield some expensive queries so we bypass
generating choices for any RelatedField fields
2016-03-16 13:11:05 -04:00
Matthew Jones
63b01bb04b Fix up the docker-refresh Makefile target
This allows you to cleanup the images without requiring a rebuild necessarily
2016-03-16 13:11:05 -04:00
Akita Noek
75b8b0f4a6 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-16 11:58:46 -04:00
Akita Noek
46cb51ba2f typo fix 2016-03-16 11:56:58 -04:00
Ken Hoes
e044617284 Merge branch '1259-organizations-modules' into 688-orgCards-counts 2016-03-16 11:55:21 -04:00
Akita Noek
c308c07579 Removed Permission reference in the activity stream query 2016-03-16 11:37:21 -04:00
Akita Noek
598d5ba5ef Fixed up JobAccess.get_queryset to use new RBAC system 2016-03-16 11:36:19 -04:00
Akita Noek
8d439c9468 Fixed up AdHocCommandAccess to not use old Permission query 2016-03-16 11:21:19 -04:00
Akita Noek
60fcbd78f1 Another users -> members_role.members fix 2016-03-16 10:54:35 -04:00
Akita Noek
65719615c4 Team users list update for .users -> .member_role.members 2016-03-16 10:40:31 -04:00
Akita Noek
460a14705a Updated the org users and org admins api list endpoints to use new member_role.members 2016-03-16 10:29:12 -04:00
Akita Noek
7ec3b3b8b5 Fixed up User.accessible_objects to return a User queryset
Was returnning a RolePermission qs, needed to be a User qs to match.
Also bolted on the role_permissions GenericRelation so we could just
reuse the ResourceMixin accessible_objects code
2016-03-16 10:26:53 -04:00
Wayne Witzel III
63d8efc268 Merge pull request #1256 from anoek/rbac
Misc RBAC fixes and enhancements
2016-03-16 10:18:13 -04:00
Alan Rominger
96517d2381 Merge pull request #1230 from AlanCoding/647_org_summary_numbers
Provide counts of organization resources in list view
2016-03-16 10:07:25 -04:00
Akita Noek
9909ea90c1 Fixed post delete behavior for roles, added test 2016-03-16 09:13:33 -04:00
Akita Noek
67b37e17cb flake8 fixes 2016-03-16 08:54:59 -04:00
kensible
57caec392c Merge pull request #1237 from kensible/1231-lookupModal-specs
1231 lookup modal specs
2016-03-16 08:36:51 -04:00
Akita Noek
8625edfec7 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-15 17:02:16 -04:00
Akita Noek
7e0d2e6729 more .users -> member_role.members 2016-03-15 17:00:20 -04:00
Akita Noek
defe4a4fd8 Made credentials accessible by system administrators and auditors 2016-03-15 16:51:44 -04:00
Akita Noek
ce669b03ad Switched to a nicer contextmanager implemenation for role hierarchy rebuild batching
#1206
2016-03-15 15:30:43 -04:00
AlanCoding
52cd4f5ef9 reduce test to only check project inventory connection 2016-03-15 15:06:00 -04:00
Wayne Witzel III
3197327b7f Merge pull request #1252 from wwitzel3/rbac
Fixing Inventory access
2016-03-15 14:56:58 -04:00
Wayne Witzel III
0e8b7ab4f4 Fixing Inventory access 2016-03-15 14:56:35 -04:00
Ken Hoes
85a9e14ced Split up and modularized organizations 2016-03-15 14:55:12 -04:00
Akita Noek
e45982b011 Signal bindings to add permissions from hosts to groups/inventory
We should probably move this into a more generic system.. but for the
time being this works, we can refactor later if we have a similar need
elsewhere.
2016-03-15 14:47:36 -04:00
AlanCoding
da39f1269a org counts code restructing to better prepare for RBAC merge 2016-03-15 14:36:56 -04:00
Akita Noek
b499555be4 Added auto_generated flag for RolePermissions 2016-03-15 13:36:28 -04:00
Akita Noek
ea9642f5df Fixed missing .distinct() necessary for '&' 2016-03-15 13:06:24 -04:00