Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding 638cb98631 omit project can_cancel check from access logic 2017-01-09 09:09:11 -05:00
Alan Rominger d5247c6d95 Merge pull request #4515 from AlanCoding/relaunch_rbac
Custom PermissionDenied error for Workflow Job relaunch
2017-01-06 16:04:13 -05:00
Alan Rominger 6921cbfdd0 Merge pull request #4538 from AlanCoding/celery_log_reset
Celery log reset on CTiT change / task start
2017-01-06 15:36:45 -05:00
AlanCoding 5fcd467fe6 rename helper function for WJ relaunch 2017-01-06 14:44:29 -05:00
Alan Rominger c39c62973b Merge pull request #4574 from AlanCoding/4519
Provide __init__ arg for LDAP group type
2017-01-06 13:28:14 -05:00
Alan Rominger 0b0750d76e Merge pull request #4593 from AlanCoding/unhandled_perm_error
In JT /launch/ view deal with PermissionDenied in get_object()
2017-01-06 13:14:00 -05:00
Alan Rominger 62fb557473 Merge pull request #4597 from AlanCoding/1873
do not allow YAML strings that are OrderedDicts
2017-01-06 13:00:39 -05:00
Alan Rominger 5ca4eb06c3 Merge pull request #4596 from AlanCoding/silence
Silence Django19 warnings in ui views.py
2017-01-06 12:49:33 -05:00
Alan Rominger 4ed1b8590b Merge pull request #4583 from AlanCoding/jt_execute_schedule
Lower scheduling access requirement to execute role
2017-01-06 12:49:07 -05:00
AlanCoding f07cd69012 corresponding test for dict extra_vars bug 2017-01-06 10:09:01 -05:00
AlanCoding 60cbc3cbbc do not allow YAML strings that are OrderedDicts 2017-01-06 08:24:40 -05:00
AlanCoding 29ce7b3684 silence Django19 warnings in ui views 2017-01-06 07:55:59 -05:00
AlanCoding 9422e87f00 simplify schedule execute_role editing rule 2017-01-05 15:42:08 -05:00
AlanCoding dca70f4bd1 protect against unhandled PermissionDenied error 2017-01-05 15:29:16 -05:00
AlanCoding df90328531 remove duplicate conversion of keys into set 2017-01-05 15:08:52 -05:00
Alan Rominger 54980d09e3 Merge pull request #4578 from AlanCoding/access_list_perm
Use ParentMixin for access_list permissions check
2017-01-05 14:53:47 -05:00
Alan Rominger 8ce97bae91 Merge pull request #4579 from AlanCoding/redirect_warning
Obey the suggestion in RemovedInDjango19Warning
2017-01-05 14:51:02 -05:00
Alan Rominger ade758af87 Merge pull request #4580 from AlanCoding/team_admins
In /users/N/teams/, also show direct admin permission
2017-01-05 12:57:10 -05:00
AlanCoding f76680b625 add back in the Tower logger, fix bug 2017-01-05 10:28:23 -05:00
AlanCoding b0cf05e9c7 Lower scheduling access requirement to execute 2017-01-04 16:53:23 -05:00
AlanCoding a17c7fa461 display teams for which user is admin in teams list 2017-01-04 15:36:13 -05:00
AlanCoding 983bee115c provide default for permanent attribute in redirect view before Django 1.9 hits 2017-01-04 15:06:10 -05:00
AlanCoding cc4aa49556 pool restart with thread-based external log config
for CTiT enablement of celery task Tower logs
2017-01-04 14:53:49 -05:00
AlanCoding 4e135bb406 add unit test to assure permission is checked 2017-01-04 14:46:23 -05:00
AlanCoding bd82ab9fb0 use ParentMixin machinery to check access_list parent obj permissions 2017-01-04 13:39:14 -05:00
AlanCoding 2e220beda4 provide __init__ arg for LDAP group type 2017-01-04 10:51:20 -05:00
AlanCoding 7acb89ff4a wrap error message in internationalization marker 2017-01-04 09:21:50 -05:00
Alan Rominger c04c54ecfb Merge pull request #4550 from AlanCoding/data_gen_workflows
Data generator enhancements, including workflows
2017-01-03 11:07:42 -05:00
Alan Rominger 9bad0e7396 Merge pull request #4560 from AlanCoding/4555
Fix log bug
2017-01-03 10:28:14 -05:00
AlanCoding 60ea0bdf92 fix bug with failed login log 2017-01-03 10:12:04 -05:00
AlanCoding 67686f640b finish implementation of data generator presets, fix flake8 2017-01-03 09:23:27 -05:00
AlanCoding 8c05d7e968 clean up boilerplate for reading preset data 2017-01-03 08:53:45 -05:00
AlanCoding ccf9fe4ecb last job, more cleanup, and start work on preset data sets 2016-12-26 22:40:32 -05:00
AlanCoding 8f3041d8b4 add creation of labels 2016-12-25 19:42:56 -05:00
AlanCoding bdfa29b778 apply created_by and other defaults to all 2016-12-25 18:45:58 -05:00
AlanCoding 9d8b1b4a12 add WFJT node networks 2016-12-24 23:17:09 -05:00
AlanCoding be97f2ca74 generators plus WFJT nodes added to data generator 2016-12-22 14:37:02 -05:00
AlanCoding c3aaccc0d4 make it so that repeated runs do not cause problems 2016-12-22 13:53:19 -05:00
AlanCoding 1346f7b580 fixing some of most annoying problems with bulk data generator 2016-12-22 12:03:56 -05:00
AlanCoding 93564987d1 hold off on using new capabilities methodology on jobs 2016-12-20 08:18:13 -05:00
Alan Rominger 1fb3986889 Merge pull request #4495 from AlanCoding/ex_perm
Switch WFJT node permissions to execute and use levels
2016-12-19 17:27:45 -05:00
AlanCoding 1a26a1796b break WJ relaunch check from start capability
implement special custom error message for
Workflow Job relaunch ability corner case
2016-12-19 16:57:00 -05:00
AlanCoding 4b57aa238a switch WFJT node permissions to execute and use levels 2016-12-19 11:21:45 -05:00
Alan Rominger 4bf6eb4f98 Merge pull request #4484 from AlanCoding/service_identity
Feed the service_identity module
2016-12-16 13:32:17 -05:00
AlanCoding 08bdbe6eca general update of requirements 2016-12-16 13:13:52 -05:00
AlanCoding ce56a5e824 documentation feedback from pip-complie tool incorporated 2016-12-16 12:46:33 -05:00
AlanCoding 42713c9916 add requirements for service identity module causing warning messages 2016-12-16 11:47:35 -05:00
Alan Rominger 600c94dd40 Merge pull request #4390 from AlanCoding/do_not_copy_labels
Do not copy WFJT labels in 3.1
2016-12-15 10:06:45 -05:00
Alan Rominger b7f469baab Merge pull request #4388 from AlanCoding/wfjt_copy_perm
Fix WFJT copy RBAC bugs
2016-12-12 16:17:02 -05:00
Alan Rominger 5575f67aba Merge pull request #4393 from AlanCoding/encrypt_log_pass
Encrypt log token or password
2016-12-12 12:16:58 -05:00
AlanCoding 249469c576 encrypt log token or password 2016-12-12 12:02:56 -05:00
AlanCoding 278d70ed49 do not copy WFJT labels in 3.1 2016-12-12 11:21:21 -05:00
AlanCoding 30b212b724 fix RBAC bugs associated with WFJT copy 2016-12-12 11:11:25 -05:00
Alan Rominger ecdb9ac02a Merge pull request #4374 from AlanCoding/logger_reloading_PR
Chain reloading uWSGI on log setting change
2016-12-12 10:28:27 -05:00
Alan Rominger 39e5765f12 Merge pull request #4381 from AlanCoding/prefetch_optimizing
Use prefetch_related for several more things
2016-12-12 10:22:43 -05:00
Alan Rominger 5ee11b5ba3 Merge pull request #4379 from AlanCoding/node_exec_rbac
Check for UJT start access when adding node
2016-12-12 10:12:20 -05:00
AlanCoding 4cc1642ab3 clarity edit of uWSGI chain reload task 2016-12-12 09:40:49 -05:00
AlanCoding a90bafe6f0 move various items to prefetch for optimization 2016-12-11 07:31:04 -05:00
AlanCoding c3666752e6 check for UJT start access when adding node 2016-12-10 07:46:30 -05:00
Alan Rominger 75a85cdab2 Merge pull request #4376 from AlanCoding/wf_start_survey
Do not check survey license for workflow job relaunch
2016-12-09 16:49:26 -05:00
AlanCoding c6f3d498de remove django configure_logging import 2016-12-09 16:07:47 -05:00
AlanCoding c318b12428 do not check survey license for workflow job relaunch 2016-12-09 16:03:10 -05:00
AlanCoding 431dcc6490 switch to smoother chain reloading 2016-12-09 15:38:38 -05:00
AlanCoding 5ff62c97b6 uwsgi auto-reload on logging change 2016-12-09 15:21:03 -05:00
Alan Rominger 26adcf5972 Merge pull request #4321 from AlanCoding/role_filter2
filter.py implementation of RBAC downselection
2016-12-08 12:45:07 -05:00
AlanCoding 2092e67f6f docs and lazy eval for role_level filter 2016-12-08 12:28:46 -05:00
Alan Rominger c13a2e9401 Merge pull request #4323 from AlanCoding/team_singleton
Prohibit adding singleton permissions as child of team
2016-12-07 10:10:31 -05:00
AlanCoding 3663c97ac2 Prohibit adding singleton permissions as child of team 2016-12-07 08:42:39 -05:00
AlanCoding adebe00ca5 filter.py implementation of role level filtering 2016-12-06 20:43:15 -05:00
Alan Rominger 95f54b59cf Merge pull request #4288 from AlanCoding/user_aud_31_fixes
Fix system auditor getter logic
2016-12-05 17:07:19 -05:00
AlanCoding 1daeff8db1 unsaved user system auditor status made more conservative 2016-12-05 17:01:50 -05:00
Alan Rominger 9396fb0400 Merge pull request #4289 from AlanCoding/org_sublist_fix
Avoid applying system auditor prop if action was association
2016-12-05 16:58:28 -05:00
Alan Rominger 6d43771190 Merge pull request #4296 from AlanCoding/org_admin_cred_movement
Let the org admins share credentials
2016-12-05 16:56:31 -05:00
Alan Rominger 4f8bc13fdb Merge pull request #4297 from AlanCoding/cred_org_fd
Allow reading of credential org field in list view
2016-12-05 16:56:04 -05:00
AlanCoding 81cb57be4f remove tests pertaining to credential org related field 2016-12-05 16:17:58 -05:00
AlanCoding e81dca3249 allow reading of credential org field in list view 2016-12-05 16:00:54 -05:00
AlanCoding 4b5e131362 allow org admins to share credentials between orgs 2016-12-05 15:17:34 -05:00
Alan Rominger b6c8fc1513 Merge pull request #4290 from AlanCoding/wf_type_options
Workflow jobs in OPTIONS for unified_jobs
2016-12-05 13:39:34 -05:00
AlanCoding 0255b9483d add workflow jobs to UJ options 2016-12-05 13:27:17 -05:00
AlanCoding 8c64fa2fe1 handle is_system_auditor case with unsaved users 2016-12-05 12:13:28 -05:00
AlanCoding 057efd3d5a avoid applying system auditor prop if action was association 2016-12-05 11:40:26 -05:00
AlanCoding 14746eebe3 fix system auditor getter logic 2016-12-05 11:22:11 -05:00
Alan Rominger 8e76da89f2 Merge pull request #4286 from AlanCoding/destroyer_of_nodes
Switch job destroy WF check to OneToOne patterns
2016-12-05 11:15:47 -05:00
AlanCoding 101b50c888 switch job destroy WF check to OneToOne patterns 2016-12-05 10:10:04 -05:00
Alan Rominger ef87a58239 Merge pull request #4242 from ansible/logging_int
Logging Integration
2016-12-02 16:51:00 -05:00
AlanCoding 064a40ba92 Manage null default state for logging integration and DB definition 2016-12-02 16:45:27 -05:00
AlanCoding ebff4f4f24 get rid of out of date logger unit tests 2016-12-02 15:16:00 -05:00
AlanCoding 7848198b9f New awx.main.utils directory, distributed task to invalidate settings 2016-12-02 14:36:04 -05:00
AlanCoding db21178b14 remove unused log handlers and cleanup 2016-12-02 10:21:36 -05:00
AlanCoding 7344a998b2 move formatter to logger file, settings reload on startup 2016-12-01 19:09:55 -05:00
AlanCoding 3643d9c06b allow for reloading of logging settings via CTiT 2016-11-30 16:52:47 -05:00
AlanCoding 37ef4e8bc8 HTTP logger overrides kwargs with settings 2016-11-29 16:26:28 -05:00
AlanCoding f3805b1317 enable Logstash auth and prepare for handler for multiple auth types 2016-11-29 14:05:19 -05:00
AlanCoding f3427d1359 Logging Integration, ELK docker-compose as update file 2016-11-29 13:09:47 -05:00
Alan Rominger 25eaae5f09 Merge pull request #4140 from ansible/AlanCoding-patch-1
Fix scan job relaunch bug
2016-11-29 08:52:01 -05:00
AlanCoding dd02ab329a add test assertions that check the relaunch job_type bug 2016-11-29 08:07:57 -05:00
Alan Rominger fbd27e25a6 Fix scan job relaunch bug 2016-11-28 16:55:11 -05:00
Alan Rominger df658e7f65 Merge pull request #4108 from AlanCoding/wfjt_ssf
Add WFJT survey and recent_jobs
2016-11-23 16:11:16 -05:00
AlanCoding dc3e744dda change unit tests to work with JobTemplateMixin serializer 2016-11-23 16:06:23 -05:00
AlanCoding bf0a235ce9 Add WFJT survey and recent_jobs 2016-11-23 15:48:11 -05:00