Akita Noek
cb83ee3ec6
Tightened user can_admin access so only sys admins and org admins can admin users
2016-03-22 11:40:06 -04:00
Akita Noek
4dcf51e791
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-22 11:10:48 -04:00
Akita Noek
f8415d06c8
Fixed scripts.py tests
2016-03-22 11:09:54 -04:00
Wayne Witzel III
c7cb9f3a2d
Merge pull request #1276 from wwitzel3/rbac
...
Implements issue #1061 , allow org admins (or higher) job delete
2016-03-22 09:47:36 -04:00
Wayne Witzel III
99ca2efc4f
Update Makefile, no more fact/tests
2016-03-22 09:31:11 -04:00
Wayne Witzel III
5313d2fcb0
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-22 09:24:56 -04:00
Akita Noek
3bcabec2a3
Print garbage cleanup
2016-03-22 08:55:18 -04:00
Akita Noek
d8f527429c
flake8 fixes
2016-03-22 08:05:04 -04:00
Akita Noek
7d932b6633
Add missing .all() from filter removal
2016-03-21 22:29:16 -04:00
Akita Noek
c7234f42c7
Give SU's access to all projects to protect against unreachable orphans
2016-03-21 22:28:05 -04:00
Akita Noek
7ca516da0b
Misc fixes for old projects tests
2016-03-21 22:17:16 -04:00
Akita Noek
b111484b89
old users tests: deprecated_userse -> member_role.members changes
2016-03-21 22:16:54 -04:00
Akita Noek
8c403cf77f
Fixed SU project access
2016-03-21 22:15:08 -04:00
Akita Noek
173ae3b2db
Fixed deprecated_teams relation, and typos
2016-03-21 22:14:39 -04:00
Akita Noek
54cf4b6e02
Grant project access to teams through role parenting
2016-03-21 22:13:12 -04:00
Akita Noek
e4a1a9c3bf
Fixed user/:id/projects after ripping out Team.users
2016-03-21 22:09:55 -04:00
Akita Noek
01e16f6722
Fixed user/:id/teams endpoint after ripping out Team.users
2016-03-21 22:09:18 -04:00
Akita Noek
6d62fbc541
Add test for most recent rbac m2m binding fail
2016-03-21 21:09:58 -04:00
Akita Noek
ec851492d6
Fixed Role m2m binding so it even works all the time
2016-03-21 21:09:22 -04:00
Akita Noek
4bb2f27fe5
Prefixed User.organizations and User.admin_of_organizations with deprecated_
2016-03-21 15:43:58 -04:00
Akita Noek
91690a0eb7
Removed deprecated use of admin_of_organizations
2016-03-21 15:43:21 -04:00
Akita Noek
b46bdef732
Ported old/organizations.py tests to new rbac system
2016-03-21 15:35:08 -04:00
Akita Noek
a5c355d753
Updated UserAccess to reflect new visibility requirements (and work)
2016-03-21 15:08:10 -04:00
Akita Noek
80560fffc9
Merge pull request #1283 from anoek/rbac
...
Fixed up migrations
2016-03-18 16:33:24 -04:00
Akita Noek
e4948f210f
Fixed up migrations
2016-03-18 16:31:53 -04:00
Akita Noek
92df6b0fb2
Merge branch 'devel' into rbac
2016-03-18 16:26:45 -04:00
Akita Noek
8addccd434
Renamed migrations to be a little more descriptive
...
Mainly for sanity when merging migrations into long running branches..
but nice anyways I think
2016-03-18 16:17:58 -04:00
Akita Noek
5a444d4b2c
Merge pull request #1281 from anoek/rbac
...
Merging devel into rbac
2016-03-18 15:43:48 -04:00
Akita Noek
54aa465448
Merge remote-tracking branch 'ansible/rbac' into rbac
2016-03-18 15:42:58 -04:00
Akita Noek
beb4f95fa6
Merge remote-tracking branch 'ansible/rbac' into rbac
2016-03-18 15:42:06 -04:00
Akita Noek
9dc4f3e07d
Merge pull request #1280 from anoek/rbac
...
Refactored ImplicitRoleField
2016-03-18 15:41:54 -04:00
Akita Noek
5741b47c54
Merge remote-tracking branch 'ansible/devel' into merge-devel
2016-03-18 15:40:13 -04:00
Akita Noek
4fac1e96f4
Test that helps test the implemenation of role auto-reparenting
2016-03-18 15:11:13 -04:00
Akita Noek
23f0286669
Refactored ImplicitRoleField to be faster and avoid some bad looping cases
...
The role creation logic was a bit too lazy and caused some looping when
using other roles as parent roles. This refactor does all role
creation for a single model instance up front together, which helps
avoid these situations as well as eliminates some extra db updates and
inserts that would happen the old way.
2016-03-18 15:10:08 -04:00
Chris Meyers
69b2a3c868
Merge pull request #1275 from chrismeyersfsu/playbook_state_admin_password
...
desired state pattern for admin_password
2016-03-18 11:32:53 -04:00
Chris Meyers
523e3b7933
Merge pull request #1277 from chrismeyersfsu/playbook_fix_redis
...
fixes bringup redis
2016-03-18 11:32:40 -04:00
Wayne Witzel III
752416f4d8
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-18 11:21:13 -04:00
Wayne Witzel III
8a1f21de12
Merge pull request #1265 from anoek/rbac
...
Various small fixes and progress on making 'old' tests work again on RBAC
2016-03-18 11:21:10 -04:00
Akita Noek
13dd27ac52
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-18 11:17:04 -04:00
Chris Meyers
0f99dbe1d2
fixes MONGO_HOST not found error
2016-03-18 10:56:00 -04:00
Wayne Witzel III
b5ca6b891b
Implements issue #1061 , allow org admins (or higher) job delete
2016-03-18 10:28:38 -04:00
Chris Meyers
7a2869b0e2
Merge pull request #1274 from ansible/revert-1213-revert-1208-mongoectomy_packaging
...
Revert "Revert "remove mongo as packaging req""
2016-03-18 09:35:10 -04:00
Alan Rominger
8b610d132d
Merge pull request #1272 from AlanCoding/container_tower_package
...
Tweaks to help development container workflow
2016-03-18 08:17:54 -04:00
AlanCoding
a0ce6d7a25
fix regression of development package naming
2016-03-17 22:54:12 -04:00
Wayne Witzel III
3a11bca31f
Merge pull request #1270 from wwitzel3/rbac
...
Credential migration and initial tests
2016-03-17 16:28:48 -04:00
Wayne Witzel III
766190fb80
Use getattrd instead of reduce
2016-03-17 16:27:47 -04:00
Wayne Witzel III
6d249f38a7
Fix credential assertions and rename migration helpers
2016-03-17 15:41:46 -04:00
Akita Noek
ccfb73766c
Code de-dup
2016-03-17 13:25:04 -04:00
Wayne Witzel III
74e2c440a5
Rename credential migration helpers
2016-03-17 11:37:59 -04:00
Wayne Witzel III
b59e960b46
Credential migration and initial tests
2016-03-17 11:21:10 -04:00