Commit Graph

2305 Commits

Author SHA1 Message Date
AlanCoding
1f88d8b810 implement can_cancel for most unified job types 2016-06-22 14:57:30 -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
Alan Rominger
c15b5f54f8 Merge pull request #2416 from AlanCoding/2409_inv_update_permission
Require admin role to edit inventory
2016-06-16 13:02:45 -04:00
Matthew Jones
cded126f5b worker_ready is unused here 2016-06-15 14:40:50 -04:00
Matthew Jones
19c8fe915f Add a celery worker init task
We'll use this task to perform any worker specific startup actions.
Initially this is used to re-sync any Tower schedules on startup.
2016-06-15 12:09:39 -04:00
AlanCoding
a0c4bb5f6f fix bug with inventory in JT can_add 2016-06-15 11:59:16 -04:00
Matthew Jones
9b49ff15bd Mass rename foreman -> satellite6
For end-user facing elements. We still maintain foreman for some
underlying logic needed by the modules
2016-06-15 11:16:15 -04:00
Alan Rominger
dc0494535e Merge pull request #2398 from AlanCoding/2207_jt_sensitive_fields
Job Template can_change fixes and unit tests
2016-06-15 11:07:56 -04:00
AlanCoding
502267484f indicate only intent to prompt with can_start_without_user_input 2016-06-15 10:52:25 -04:00
AlanCoding
81c3ae4470 change inventory can_change to require admin role 2016-06-15 08:17:00 -04:00
Matthew Jones
8e5f502d00 Use ansible venv to be used during inv import 2016-06-14 15:21:09 -04:00
Wayne Witzel III
8a2c8d59a5 Merge pull request #2388 from wwitzel3/test-refactoring
More testing clean up
2016-06-14 13:44:53 -04:00
AlanCoding
ffc0b05a80 fix non-sensitive change becoming sensitive, add network cred in JT can_change 2016-06-14 12:20:02 -04:00
Wayne Witzel III
1b37818eba removing old, duplicated tests 2016-06-14 11:45:34 -04:00
Alan Rominger
0583a7c435 Merge pull request #2353 from AlanCoding/2226_user_roles_access
Fixes for role assignment permissions
2016-06-14 11:25:33 -04:00
Matthew Jones
9e56913893 Capture some change info in activity stream for associate/disassociate events 2016-06-13 12:41:50 -04:00
AlanCoding
c631761091 check team permissions if attaching user roles 2016-06-13 12:34:10 -04:00
AlanCoding
b485b85076 TeamRolesList permission tests and fix, organize tests 2016-06-13 11:09:48 -04:00
Alan Rominger
ec154765d2 Merge pull request #2303 from AlanCoding/1958_jt_access
Job Template can_add updates
2016-06-13 11:04:48 -04:00
Wayne Witzel III
74518379c6 Merge pull request #2344 from wwitzel3/issue-2327
fix issue with Team.roles and ActivityStream
2016-06-13 07:05:53 -07:00
Wayne Witzel III
019c5bac04 fix tests to be more specific about AS query 2016-06-13 09:39:52 -04:00
AlanCoding
7f38227e11 fix bug in RoleTeamsList 2016-06-11 18:04:05 -04:00
Wayne Witzel III
db16478830 only special case team when sender is Role_parents 2016-06-10 17:27:11 -04:00
AlanCoding
3e97bdae7f add reverse attach access checks pointing toward roles 2016-06-10 17:12:26 -04:00