Commit Graph
100 Commits
Author SHA1 Message Date
Alan Rominger 8433f647ec Merge pull request #4718 from AlanCoding/more_simple_relaunch
require constituent resource access to relaunch WJ
2017-01-17 15:02:10 -05:00
Alan Rominger c5ae2ddb5d Merge pull request #4732 from AlanCoding/null_job_fd
Graceful handling of null project and inventory in workflow
2017-01-17 14:38:25 -05:00
AlanCoding 5bfb0f229c graceful handling of null project and inventory in workflow 2017-01-17 14:19:46 -05:00
Alan Rominger e3ee82ce64 Merge pull request #4733 from ansible/AlanCoding-patch-3
workflow doc RBAC rules audit
2017-01-17 10:12:28 -05:00
AlanCoding ad3ca9acf8 Incorporate more feedback about RBAC logic regarding node deletion 2017-01-17 09:40:31 -05:00
AlanCoding d88fa05009 workflow RBAC docs feedback 2017-01-14 11:09:52 -05:00
Alan Rominger 46941dab5d Merge pull request #4726 from ansible/AlanCoding-patch-1
put the word granularity in double quotes
2017-01-13 17:16:58 -05:00
Alan Rominger 912033f223 workflow doc RBAC rules audit 2017-01-13 17:11:08 -05:00
Alan Rominger f5173a9d27 put the word granularity in double quotes 2017-01-13 15:37:23 -05:00
Alan Rominger 6e0752c6de Merge pull request #4615 from AlanCoding/cancel_403
Remove can_cancel check (unrelated to permissions) from access method
2017-01-13 15:24:03 -05:00
Alan Rominger 481514dea4 Merge pull request #4709 from AlanCoding/workflow_code_tweaks
Minor workflow code cleanup & performance
2017-01-13 14:55:58 -05:00
AlanCoding a93ad270f2 update workflow serializer fixture to use serializer instance 2017-01-13 14:44:58 -05:00
AlanCoding ba8f0ccff1 require constituent resource access to relaunch WJ 2017-01-13 14:41:00 -05:00
AlanCoding b6493cacd5 small tweaks to make workflow endpoints load better 2017-01-13 13:50:53 -05:00
Alan Rominger 0f72e32d8f Merge pull request #4708 from AlanCoding/browser_big_load
Avoiding pulling full list from DB in metadata
2017-01-13 13:46:20 -05:00
AlanCoding 2146777cc6 reorder terms to avoid pulling full UJT list 2017-01-12 17:32:13 -05:00
Alan Rominger 7567966bc6 Merge pull request #4691 from AlanCoding/wfjt_warnings
WFJT warnings refactor
2017-01-12 15:41:14 -05:00
AlanCoding dfd0885ec3 new WFJT launch schema and cleanup 2017-01-12 12:24:49 -05:00
Alan Rominger 584ef35c76 Merge pull request #4653 from AlanCoding/copy_sp
Refactor of /copy/ GET schema
2017-01-11 14:57:50 -05:00
AlanCoding a693aad95d a workable version of the new copy GET schema implemented 2017-01-11 14:43:37 -05:00
AlanCoding 2c97425291 prototype for new copy GET details 2017-01-11 12:23:57 -05:00
AlanCoding e69dc0f36e Clarification of copy RBAC messages 2017-01-11 11:20:17 -05:00
Alan Rominger 8526004408 Merge pull request #4655 from AlanCoding/null_ujt
Handle case of node with null UJT
2017-01-11 10:30:23 -05:00
AlanCoding 147c8c0c14 update workflow DAG tests so nodes not in sideways state 2017-01-11 09:49:52 -05:00
AlanCoding 8f259f2bb7 handle case of node with null UJT 2017-01-10 18:50:52 -05:00
Alan Rominger 0751f8652c Merge pull request #4627 from AlanCoding/fact_defaults
Defaults for cleanup facts management job
2017-01-10 18:19:08 -05:00
Alan Rominger 6e6fd254dd Merge pull request #4629 from AlanCoding/is_new_in_14
Mark inventory scripts as added in 2.1.0
2017-01-10 11:59:51 -05:00
Alan Rominger ee2c8343ce Merge pull request #4631 from AlanCoding/wf_words
Workflow doc updates, excluding labels copy
2017-01-10 11:58:30 -05:00
AlanCoding 0a975736d9 further workflow doc copy edit with QE 2017-01-10 11:50:58 -05:00
AlanCoding e52e6ae192 handle case where the UJT related resource is null 2017-01-10 11:33:51 -05:00
AlanCoding 30fb6fcdd3 update clarification on what WFJT copy does 2017-01-10 11:14:44 -05:00
AlanCoding 78d8d4139a workflow docs revisions after label copy change 2017-01-10 10:09:29 -05:00
AlanCoding 4990a59fa7 mark inventory scripts as added in 2.1.0 2017-01-10 09:38:52 -05:00
AlanCoding a3d8cbde25 add in defaults for cleanup facts management job 2017-01-10 08:55:13 -05:00
Alan Rominger 17f0555362 Merge pull request #4623 from AlanCoding/unicode_inv_import
Unicode conversion of paths in inventory import
2017-01-09 15:59:57 -05:00
AlanCoding 69527fdb08 unicode conversion of paths in inventory import 2017-01-09 15:10:02 -05:00
Alan Rominger ee997e0ca7 Merge pull request #4618 from AlanCoding/new_in
Tower endpoint archaeology
2017-01-09 13:38:22 -05:00
AlanCoding ad472c168f systematic update of new_in_xx flags 2017-01-09 12:25:04 -05:00
Alan Rominger ae463b2130 Merge pull request #4606 from AlanCoding/sys_jobs_start
Only accept extra_vars launchtime param for system jobs
2017-01-09 10:55:06 -05:00
AlanCoding 638cb98631 omit project can_cancel check from access logic 2017-01-09 09:09:11 -05:00
AlanCoding 8bc3befd03 only accept extra_vars launchtime param for system jobs 2017-01-06 16:54:07 -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