Commit Graph
2327 Commits
Author SHA1 Message Date
Akita Noek 291c8126d7 Fixed inventory edit editablity from update_role users
Now you'll need the expected admin_role access to do things like edit
inventory, groups, and hosts.

 Resolves #2561
2016-06-24 11:03:54 -04:00
Akita Noek 20ba96ae84 Description update
With our role removal from inventory groups this description needed some
updating
2016-06-24 09:49:14 -04:00
Akita Noek feaaac94a2 Merge pull request #2603 from anoek/2579
Removed roles per inventory group
2016-06-24 09:23:06 -04:00
Matthew Jones 288ecc1c5b Ignore management jobs on activity stream 2016-06-23 16:14:56 -04:00
Akita Noek f6ebf80eba Fixed Group queryset 2016-06-23 11:57:03 -04:00
Akita Noek 7aa31bb51b Updated old test case to allow org admins to create inventory scripts
This was added in https://github.com/ansible/ansible-tower/commit/e9fe45389d7287d1b817d10389367214ab440690
2016-06-23 11:15:56 -04:00
Akita Noek ee8215dc52 Removed InventoryGroup roles 2016-06-23 11:01:22 -04:00
AlanCoding 2bebb76881 restrict editing of orphan notification templates to superusers 2016-06-23 09:51:58 -04:00
Wayne Witzel III 68d47cfc93 Merge pull request #2574 from wwitzel3/fix-race
Ensure teams cannot have org roles as children.
2016-06-22 17:31:27 -04:00
Alan Rominger fc8a2edcb3 Merge pull request #2583 from AlanCoding/2530_job_cancel_access
Allow job self-canceling and update other cancel logic
2016-06-22 16:52:38 -04:00
Alan Rominger e67cc8ba38 Merge pull request #2562 from AlanCoding/2527_inv_update_access
Add can_delete to InventoryUpdateAccess
2016-06-22 16:47:29 -04:00
Chris Meyers b53f753e0f Merge pull request #2587 from chrismeyersfsu/enhancement-dont_drop_mongo
do not drop mongo after migration
2016-06-22 16:30:12 -04:00
AlanCoding 36513e96a2 add can_delete to inventory update access 2016-06-22 16:11:10 -04:00
Chris Meyers fd4875818f do not drop mongo after migration 2016-06-22 16:06:47 -04:00
Wayne Witzel III 329e81b40e no need for create=True 2016-06-22 15:39:40 -04:00
Wayne Witzel III 1d329856f9 use MagicMock for content_type 2016-06-22 15:36:26 -04:00
AlanCoding 1f88d8b810 implement can_cancel for most unified job types 2016-06-22 14:57:30 -04:00
Matthew Jones 8d67d3a6fc Don't auto-gen the demo project update on preload 2016-06-22 14:49:27 -04:00
Matthew Jones 0fda36116a Change org admin role access for inventory scripts
Previously a super user was required to create and administer custom
inventory scripts.   Since these are tied to organizations this commit
extends orgadmin admininstration abilities to custom scripts within
their organization
2016-06-22 13:58:14 -04:00
Matthew Jones 2a4fa0ed9d Increment sent messages for pagerduty backend 2016-06-22 12:09:04 -04:00
Wayne Witzel III 54e618db2e test org role as child for team 400s 2016-06-22 12:00:32 -04:00
Matthew Jones c812e85f65 Change email notification formatting.
Instead of pretty printing the datastructure we'll now dump out the
result in json format with indent=4 for pretty viewing.
2016-06-22 11:52:49 -04:00
Wayne Witzel III 2535b1fb7c Fix migration hierarchy updating 2016-06-22 09:58:15 -04:00
Wayne Witzel III 06c74ced76 Merge pull request #2538 from wwitzel3/issue-2349
Credential bug fixes for access and uniqueness
2016-06-21 16:40:14 -04:00
Wayne Witzel III 52b16620cd added multi-team same credential name test 2016-06-21 16:30:06 -04:00
Alan Rominger 38aaf2d72b Merge pull request #2490 from AlanCoding/2413_allow_orphan_jobs
Allow launching an orphaned job
2016-06-21 16:24:31 -04:00
Wayne Witzel III dab3440275 assert org.auditor can read org credentials 2016-06-21 16:07:47 -04:00
Wayne Witzel III b4148313a0 org auditor should be able to read credential 2016-06-21 16:07:11 -04:00
Wayne Witzel III 868b6b7e36 add migration for read_role parents of credential 2016-06-21 14:44:04 -04:00
Wayne Witzel III c7cf954476 ensure org auditor can see org credentials 2016-06-21 14:43:40 -04:00
Wayne Witzel III 51150ce7fc renaming test so pytest collector stops getting confused 2016-06-21 14:17:16 -04:00
Wayne Witzel III 4799b27108 ensure organization is empty when generating a new credential 2016-06-21 13:07:58 -04:00
Wayne Witzel III bc457ccef6 assert Credential unique_togehter works 2016-06-21 11:36:31 -04:00
Wayne Witzel III 14d67d560e add Credential migration for unique_together 2016-06-21 11:35:51 -04:00
Wayne Witzel III 3575b32eab Credential should have a unique org,kind,name 2016-06-21 11:35:30 -04:00
AlanCoding 8fd18b882a move logic for project udpate to access.py 2016-06-20 12:05:41 -04:00
AlanCoding 5e07ee2e45 fix flake8 errors from notification template edit 2016-06-17 16:11:22 -04:00
Chris Church 71bc88450f Merge pull request #2443 from cchurch/credential_create_fixes
Update validation and supported fields for creating credentials.
2016-06-17 12:05:53 -04:00
Matthew Jones 462d43060e Fix up missing notifications in invsrc 2016-06-17 11:52:13 -04:00
Chris Church c2285f1a4c Split up the credential xfail tests. 2016-06-17 11:42:20 -04:00
AlanCoding 1e6c1f1e9d additions to allow copy of an orphaned job 2016-06-17 09:46:45 -04:00
Wayne Witzel III 6b0155b3f9 add can_delete check method (defers to admin) 2016-06-16 16:54:51 -04:00
Wayne Witzel III 051d419b1f Merge pull request #2450 from wwitzel3/release_3.0.0
Fixing Team and Credential access issues
2016-06-16 16:36:03 -04:00
Matthew Jones 526c7d719f Disable rax ssl verification everywhere 2016-06-16 15:48:36 -04:00
Wayne Witzel III 58c8cc1703 adjust team admin_role / member_role assertion 2016-06-16 15:32:00 -04:00
Wayne Witzel III 14809c086d added some assertions to catch cycles, updated migration 2016-06-16 15:24:07 -04:00
Wayne Witzel III 791589dab8 Fixing Team and Credential access issues 2016-06-16 15:23:50 -04:00
Matthew Jones 251dae657a Force schedule save during celery startup 2016-06-16 13:14:53 -04:00
Alan Rominger 1e99f92a50 Merge pull request #2425 from AlanCoding/2420_inventory_access_bug
Fix bug leftover from changing JT can_add access
2016-06-16 13:05:14 -04:00
Alan Rominger aed2a60dee Merge pull request #2422 from AlanCoding/2401_prompting
Indicate intent to prompt with can_start_without_user_input
2016-06-16 13:03:28 -04:00