Commit Graph

2163 Commits

Author SHA1 Message Date
Akita Noek
e3a45235a6 Do an initial save on all resources during amigration to force the creation of RBAC role objects. 2016-04-12 11:40:17 -04:00
Akita Noek
7d2e660749 Make use of 'current' apps so RBAC ImplicitRoleField can work during migrations
While a migration is taking place, we can't juse use normal model
references like Role and RolePermission, nor can we use generic foreign
keys without manually referring to the content type and object id
fields.
2016-04-12 11:40:17 -04:00
Akita Noek
682552d9b0 Added field deconstruct method so ImplicitRoleField works in migrations
Apparently we need this, who'da known.
https://docs.djangoproject.com/en/1.9/howto/custom-model-fields/
2016-04-12 11:40:17 -04:00
Akita Noek
274744b4c1 Replaced Role.singleton usage in migrations as it doesn't exist here apparently 2016-04-12 11:40:17 -04:00
Akita Noek
ec439126e0 Added created/modified and another content_object fix in our migrations
#1380 #1425
2016-04-12 11:40:17 -04:00
Akita Noek
b1c568e4d9 Fix invalid usage of content_object during migrations
#1380
 #1425
2016-04-12 11:40:17 -04:00
AlanCoding
98dd79775b series of tests to verify user executing permissions 2016-04-12 11:37:33 -04:00
Wayne Witzel III
558311eaed Fixup inventory test 2016-04-12 11:29:59 -04:00
Chris Meyers
0d0115ef5e include migration 2016-04-12 10:23:43 -04:00
Akita Noek
18dea2203f Removed unnecessary rebuild_role_ancestor_list call in a test 2016-04-12 09:55:20 -04:00
Akita Noek
dc70262d39 Merge pull request #1435 from anoek/user-activity-stream-updates
Added activity stream events for User
2016-04-12 09:10:52 -04:00
Akita Noek
c4a1f55f53 Merge pull request #1414 from anoek/access-list-updates
Updated access_list to include team information for indirect access
2016-04-11 17:04:53 -04:00
Akita Noek
6182dad0d4 Added activity stream events for User
Completes development for #1087
2016-04-11 17:03:04 -04:00
Wayne Witzel III
12b1068ed4 fix open_fifo_write call 2016-04-11 16:23:06 -04:00
Chris Meyers
5bf83e8b64 cascade delete labels 2016-04-11 16:02:42 -04:00
Wayne Witzel III
992521e040 add migrations for invsource and credentials 2016-04-11 15:00:58 -04:00
Matthew Jones
d6c2b931f9 Remove stray comma from network credential in JobOptions 2016-04-11 14:49:23 -04:00
Akita Noek
09f1473ef9 Added direct access via teams to the access_list endpoint 2016-04-11 13:46:27 -04:00
Akita Noek
4531f276c2 Updated access_list to include team information for indirect access coming from teams
Finally addresses #1212
2016-04-11 13:46:27 -04:00
Matthew Jones
673c5929f9 Improve the efficiency of the stdout dump database migration 2016-04-11 11:40:56 -04:00
Wayne Witzel III
03845eb2fe remove age_deleted mgmt cmd, no longer needed 2016-04-11 11:26:06 -04:00
Wayne Witzel III
a317aa6a31 added Network Credential unit tests 2016-04-11 10:14:51 -04:00
Wayne Witzel III
2a3e5dd0c0 make fifo a helper for easier testing, fixed proot check 2016-04-11 10:14:50 -04:00
Wayne Witzel III
e8b35533e4 added initial API support for Network credential 2016-04-11 10:14:02 -04:00
Matthew Jones
62218cfd7d Fix virtualenv path association in job runs 2016-04-08 11:56:51 -04:00
Akita Noek
2d31021296 Merge pull request #1411 from wwitzel3/more-rht-integration
RedHat Inventory Integrations
2016-04-07 12:56:12 -05:00
Wayne Witzel III
62ba0b7488 Merge pull request #1441 from wwitzel3/rbac-bug-1423
make CustomInvetoryScript a resource.
2016-04-07 13:43:04 -04:00
Akita Noek
93fd398793 Merge pull request #1436 from wwitzel3/rbac-bug-1421
superuser should be able to delete users without an org
2016-04-07 12:32:40 -05:00
Wayne Witzel III
4a41c0f3b4 make CustomInvetoryScript a resource. 2016-04-07 11:53:21 -04:00
Chris Meyers
708817c489 remove active filter attribute 2016-04-07 09:52:51 -04:00
Wayne Witzel III
81d9f7e57e superuser should be able to delete users without an org 2016-04-06 16:30:06 -04:00
Akita Noek
38927206c7 Merge pull request #1413 from anoek/credential-api
Added organization to Credential summary and related fields
2016-04-06 15:11:35 -05:00
Graham Mainwaring
a6acb5181a Merge pull request #1417 from ansible/python27_el6
EL6 Python 2.7 and Tower virtualenvs
2016-04-06 10:57:18 -04:00
Chris Meyers
e7e6877b8e effectively, list job_templates without projects
* For super users only
* This includes scan jobs & orphaned job templates
2016-04-06 10:36:14 -04:00
Akita Noek
58ee10aa02 Added organization to Credential summary and related fields
#1400
2016-04-05 20:59:05 -04:00
Chris Meyers
d69b9fad8f fix rbac label assignment across orgs
* Org admins should not be able to attach labels to orgs for which they
are not also org admins for.
2016-04-05 16:03:46 -04:00
Chris Meyers
68c14976db label cleanup periodic job 2016-04-05 15:25:01 -04:00
Wayne Witzel III
6635782ed8 add API support for CloudForms inventory (#1099) 2016-04-05 14:43:25 -04:00
Wayne Witzel III
051dfd4b0e add API support for Satellite 6 inventory (#1098) 2016-04-05 14:34:22 -04:00
Chris Meyers
2f4e8cd163 Merge pull request #1396 from chrismeyersfsu/labels-rbac
Labels rbac
2016-04-05 08:53:49 -04:00
Chris Meyers
fa6f5329cf labels + rbac + tests 2016-04-04 17:20:58 -04:00
Akita Noek
e2b01740fb Merge pull request #1389 from anoek/credential-api
Added and updated several credential creation and listing API endpoints
2016-04-04 14:11:21 -05:00
Matthew Jones
b89d183433 Import pytest for skipping settings tests 2016-04-04 14:19:08 -04:00
Akita Noek
9455225b3d Merge branch 'devel' of github.com:ansible/ansible-tower into credential-api 2016-04-04 13:12:29 -04:00
Matthew Jones
469bff1d0b Fix required fields in notifier serializer
Handle the situation where the password field was left as-is when
posting the existing encrypted field
2016-04-04 12:04:31 -04:00
Matthew Jones
b01fe663af Fix up tests for vacated settings 2016-04-04 11:57:40 -04:00
Chris Meyers
bf09d38c5b Merge pull request #1392 from chrismeyersfsu/fix-rbacish_unit_tests
rbac active removal test cases fixes
2016-04-04 11:18:43 -04:00
Akita Noek
da8cd505cf Updated and ported select inventory credential tests to new test system
Also added all the test cases I wrote for the credential api but forgot
to add before the last checking..
2016-04-04 11:05:34 -04:00
Akita Noek
7bccc6203d Merge branch 'devel' into credential-api 2016-04-04 10:30:39 -04:00
Chris Meyers
eb2550bc7c rbac active removal test cases fixes 2016-04-04 10:23:21 -04:00