Commit Graph

971 Commits

Author SHA1 Message Date
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
AlanCoding
36513e96a2 add can_delete to inventory update access 2016-06-22 16:11:10 -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
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
51150ce7fc renaming test so pytest collector stops getting confused 2016-06-21 14:17:16 -04:00
Wayne Witzel III
bc457ccef6 assert Credential unique_togehter works 2016-06-21 11:36:31 -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
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
AlanCoding
a0c4bb5f6f fix bug with inventory in JT can_add 2016-06-15 11:59:16 -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
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
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
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
AlanCoding
3e97bdae7f add reverse attach access checks pointing toward roles 2016-06-10 17:12:26 -04:00
Wayne Witzel III
358998c4b4 fix api test 2016-06-10 14:17:48 -04:00
Wayne Witzel III
e243c8319d fix tests with refreshes 2016-06-10 13:41:22 -04:00
AlanCoding
a431f16953 job template creation to require use_role, include network creds 2016-06-10 10:58:27 -04:00
AlanCoding
996b75b978 update test_rbac_api to new object_roles naming 2016-06-10 10:48:34 -04:00
AlanCoding
6e92bc3668 modularize the job unit tests 2016-06-08 15:44:11 -04:00
AlanCoding
2cf0694adf move job view test to serializer unit test 2016-06-08 14:56:00 -04:00
AlanCoding
04b8eb4eaf add mk_job to factories, use with survey passwords 2016-06-08 13:43:19 -04:00
AlanCoding
39b410ae3e hide passwords in job_args and activity stream 2016-06-08 10:28:53 -04:00
chris meyers
f9ffe6d52e move factory fixture
* Move factory fixture back one directory so unit tests can now take
advantage of them; while still allowing functional tests to use them
2016-06-08 09:24:49 -04:00
Wayne Witzel III
112d271ccb combining job_template api tests 2016-06-07 10:13:51 -04:00
Wayne Witzel III
e002062242 Merge pull request #2176 from wwitzel3/release_3.0.0
refactoring survey spec tests and fixtures
2016-06-06 11:17:04 -07:00
Wayne Witzel III
8f3c0ff884 refactoring survey spec tests and fixtures 2016-06-06 13:39:25 -04:00
Matthew Jones
b0de8038d0 Fix validation issues for scan job templates
Also adding some jobtemplate serializer-based validation unit tests
2016-06-06 12:01:56 -04:00
Matthew Jones
0591647333 Implement a flag that allows simulteanous job launches on job templates 2016-06-02 15:04:51 -04:00
AlanCoding
53327dea2b Bug fixes related to survey corner cases and survey test refactor 2016-06-02 08:58:59 -04:00
Alan Rominger
860d0eea20 Merge pull request #2033 from AlanCoding/1958_jt_management_updates
Job Template can_copy can_edit updates and testing
2016-06-01 11:16:58 -04:00
Alan Rominger
b8524e9832 Merge pull request #2017 from AlanCoding/1969_job_orphans
Org admin access to orphaned jobs
2016-06-01 10:55:28 -04:00
AlanCoding
74beca5b74 cleanup of Job Template tests and fixtures 2016-05-31 16:03:03 -04:00
AlanCoding
1a4c92f027 make some JT tests unit tests and update others 2016-05-31 14:34:51 -04:00
AlanCoding
07cc99b4c7 start updating tests to JT factory 2016-05-31 14:34:51 -04:00
AlanCoding
cfd9d5d4f1 Refactor of JT related field checking 2016-05-31 14:34:51 -04:00
AlanCoding
1ec2c1b3b7 new tests, and stricter can_copy can_edit 2016-05-31 14:34:51 -04:00
Wayne Witzel III
7395e07221 Merge pull request #2068 from wwitzel3/issue_3.0_1990
Fix ActivityStream when object2 is a role.
2016-05-27 15:45:53 -04:00
Wayne Witzel III
31d3e3ec55 mock activity stream license and make query more specific 2016-05-27 15:21:24 -04:00