Commit Graph

778 Commits

Author SHA1 Message Date
Matthew Jones
16fce59512 Revert "Modify job event save behavior" 2016-08-22 13:34:08 -04:00
jangsutsr
5b00bb14ca Modify job event save behavior 2016-08-18 18:59:33 -04:00
Akita Noek
19fbe4b7fd Merge pull request #3274 from anoek/3081
Prevent private credentials from being to assigned to teams
2016-08-17 15:57:59 -04:00
Matthew Jones
3beef1d988 Workaround a cascade setnull polymorphic issue
See: https://github.com/django-polymorphic/django-polymorphic/issues/229
2016-08-17 12:55:12 -04:00
Akita Noek
30451f230b Fixed org auditor visibility of team credentials
And by fix, I mean prevent us from getting into the situation that was
causing the asymetric visiblity by brining us into alignment with the
original intention and spec for how credentials were supposed behave.

 #3081
2016-08-16 14:02:09 -04:00
Alan Rominger
e5a1ee8b94 Merge pull request #3215 from AlanCoding/2200_job_survey_pass
Save survey passwords in job as new field
2016-08-12 14:04:29 -04:00
Alan Rominger
95011b1aa0 Merge pull request #3235 from AlanCoding/3234_ev_survey_fix
Fix survey extra_vars processing error
2016-08-12 10:17:40 -04:00
Matthew Jones
8fcc194c82 Attempt to wait for job host summaries
Sometimes the job host summaries can land a little later after the job
has finished so sometimes events are still filtering in when the
notifications are triggered
2016-08-10 11:30:02 -04:00
AlanCoding
a94e97366a fix error processing survey vars 2016-08-10 09:41:04 -04:00
AlanCoding
9f3d9fa78a carry over survey passwords from old relaunched job 2016-08-05 15:59:11 -04:00
AlanCoding
17ac2cee42 Put survey passwords in job field 2016-08-05 15:11:28 -04:00
AlanCoding
0271aa611c add field to JT for asking to skip tags 2016-08-01 16:49:34 -04:00
AlanCoding
94c8dfd506 Allow instant cancel for new jobs 2016-07-22 15:49:24 -04:00
Alan Rominger
7f168c7fe4 Merge pull request #3003 from AlanCoding/2988_team_cascade
Cascade delete teams from organization
2016-07-14 15:13:46 -04:00
AlanCoding
68d5a702af Team organization field made non-null 2016-07-14 14:38:43 -04:00
Matthew Jones
00e55e3813 Add delete protection from certain objects
Certain objects can be sensitive to being deleted while jobs are
running, this protects those objects
2016-07-14 12:22:33 -04:00
AlanCoding
994a72967d Cascade delete teams when their organization is deleted 2016-07-14 11:44:43 -04:00
Matthew Jones
6447434aa1 Hanele credential in notifications when deleted 2016-07-11 10:16:33 -04:00
Matthew Jones
26b0d345f8 Notification guarding for deleted inventory 2016-07-08 13:04:42 -04:00
Chris Meyers
735a75729f Revert "fixes Save with update_fields did not affect any rows"
This reverts commit c6d282fce27d23317d2649ccf00b75799dad1a86.

This didn't fix the underlying issue. The issue is that the inventory
object may have been deleted by the time save is called.
2016-07-07 12:09:16 -04:00
Akita Noek
a42986894f Made it so org auditors can see all users if ORG_ADMINS_CAN_SEE_ALL_USERS is true
Addresses #2706
2016-07-07 09:22:36 -04:00
Akita Noek
b4810f6486 Typo 2016-07-06 13:38:43 -04:00
Akita Noek
b94902d970 filter_visible_roles performance enhancement 2016-07-06 12:20:52 -04:00
Akita Noek
a126736332 Expand role visibility such that you can always see all roles on any objects you can see
Completes #2774
2016-07-05 15:06:25 -04:00
Akita Noek
e818daa74f Ensure system auditors/admins can see all roles
Partial fix for #2744
2016-07-05 14:01:46 -04:00
Matthew Jones
cec1f413a4 Switch notification to use jobhostsummary name
In case the host is removed prior to the notification being emitted
we'll use the host_name cached on the jobhostsummary object iself.
2016-07-05 12:32:37 -04:00
Chris Meyers
1aca42ae93 fixes Save with update_fields did not affect any rows 2016-07-05 11:46:46 -04:00
Wayne Witzel III
16bc0cdf0b add helper decorator to ensure signleton roles see the proper role list 2016-07-01 10:38:02 -04:00
Matthew Jones
9bd05abcf3 Derive ad-hoc - inventory source notification templates 2016-06-29 13:48:00 -04:00
Akita Noek
5ed36624a3 Merge pull request #2664 from anoek/todo-cleanup
API todo/fixme addressing and cleanup
2016-06-28 11:01:41 -04:00
Matthew Jones
8055bcc94e Create activity stream event on group delete
Normally this is bypassed for recursive deletes, this manually creates
one beyond the bypass
2016-06-27 16:53:47 -04:00
Akita Noek
b57739a800 Converted except T,e expressions to except T as e 2016-06-27 15:12:37 -04:00
Wayne Witzel III
f0418d8841 Merge pull request #2634 from wwitzel3/issue-2560
Disallow non-admin of a user to add a user to Roles
2016-06-27 11:28:38 -04:00
Wayne Witzel III
87ffded774 renaming Credential.owner_role -> Credential.admin_role 2016-06-24 16:55:07 -04:00
Akita Noek
ca2b4766a5 Removed some missed things from our Group role removal work
* Removed `groups/n/object_roles`
* Removed `groups/n/access_list`
* `active_roles` from the Group `summary_fields`

 #2631
2016-06-24 14:17:20 -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
ee8215dc52 Removed InventoryGroup roles 2016-06-23 11:01:22 -04:00
Matthew Jones
8d67d3a6fc Don't auto-gen the demo project update on preload 2016-06-22 14:49:27 -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
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
b4148313a0 org auditor should be able to read credential 2016-06-21 16:07:11 -04:00
Wayne Witzel III
c7cf954476 ensure org auditor can see org credentials 2016-06-21 14:43:40 -04:00
Wayne Witzel III
3575b32eab Credential should have a unique org,kind,name 2016-06-21 11:35:30 -04:00
AlanCoding
5e07ee2e45 fix flake8 errors from notification template edit 2016-06-17 16:11:22 -04:00
Matthew Jones
462d43060e Fix up missing notifications in invsrc 2016-06-17 11:52:13 -04:00
AlanCoding
1e6c1f1e9d additions to allow copy of an orphaned job 2016-06-17 09:46:45 -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
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
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