beeankha
2ac1c3d1e1
Update timeout info on AWX docs.
2019-08-27 15:38:19 -04:00
Ryan Petrello
1eeab7e0d5
add approval timeout to the summary fields for WorkflowJobTemplateNodes
2019-08-27 15:38:18 -04:00
beeankha
459012e879
Fix 500 error on workflow_approvals endpoint
2019-08-27 15:38:17 -04:00
beeankha
2e58a47118
Minor change to fix rebase conflict.
2019-08-27 15:38:16 -04:00
beeankha
b2819793df
Set view's permission classes to be more explicit
2019-08-27 15:38:16 -04:00
beeankha
ea509f518e
Addressing comments, updating tests, etc.
2019-08-27 15:38:15 -04:00
mabashian
9f0307404e
Fix loading pending approval count on login
2019-08-27 15:38:14 -04:00
beeankha
703de8f3c0
Edit minor typo
2019-08-27 15:38:14 -04:00
beeankha
b5c0f58137
Add test for approve node denial
2019-08-27 15:38:13 -04:00
beeankha
8b23ff71b4
Update/add more functional tests
2019-08-27 15:38:12 -04:00
beeankha
582bbda9c4
Fix bug in Activity Stream, add tests.
2019-08-27 15:38:11 -04:00
mabashian
3fa9497e3c
Various bug fixes and minor ux enhancements
2019-08-27 15:38:10 -04:00
mabashian
5fc3b2c3f5
Add timed out text to workflow job node. Change timeout to minutes and seconds.
...
Remove workflow template badge in approvals drawer.
2019-08-27 15:38:09 -04:00
beeankha
9bbc14c5a1
Update AWX docs to include info about wf approvals
2019-08-27 15:38:09 -04:00
beeankha
aab04bcbb1
Fix accidental deletions, update docstrings...
...
... and update migration file for rebase.
2019-08-27 15:38:08 -04:00
beeankha
667fce5012
Fix flake8 errors, update doc strings, ...
...
... and return full object details when doing a POST to create new approval nodes.
2019-08-27 15:37:22 -04:00
Ryan Petrello
dd89e46ee6
change up a few activity stream and approval drawer issues
2019-08-27 15:36:32 -04:00
mabashian
aac8c9fb04
Rename workflow approval migration. Add approval option back to workflow node form.
2019-08-27 15:36:32 -04:00
beeankha
cf436eea37
Update RBAC for adding approval nodes
2019-08-27 15:36:31 -04:00
beeankha
f7d6f4538c
Emit approve/deny status for websockets, update doc string + a comment
2019-08-27 15:36:30 -04:00
Ryan Petrello
761dad060c
allow org/WF admins to create approval templates
2019-08-27 15:36:30 -04:00
mabashian
73485b220e
fix jshint errors
2019-08-27 15:36:29 -04:00
Elijah DeLee
bdf4defdbe
Add approval node logic to awxkit
...
Co-authored-by: <Apurva bakshiapurva93@gmail.com>
2019-08-27 15:36:29 -04:00
mabashian
adf621d2cf
Timeout, socket and activity stream changes for workflow pause approve
2019-08-27 15:36:28 -04:00
beeankha
9186cb23a6
Update summary field for activity stream
2019-08-27 15:36:27 -04:00
beeankha
f6f6e5883a
Update websockets for pending approvals, change timeout expiration to
2019-08-27 15:36:27 -04:00
Ryan Petrello
7814592285
when copying workflows w/ pause nodes, copy the WorkflowApprovalTemplate
2019-08-27 15:36:26 -04:00
Ryan Petrello
4a75edf549
fix a few nits w/ workflow approval activity stream records
2019-08-27 15:36:25 -04:00
beeankha
d9f3fed06f
Update UJ/UJT endpoints, update approval RBAC, update approval timeout
2019-08-27 15:36:25 -04:00
beeankha
544a5063f3
Update timeout implementation, placeholder code for possible websocket support
2019-08-27 15:36:24 -04:00
beeankha
8c17990750
Activity stream and timeout
...
Update activity stream to show approval node info, add meaningful log
message for expired approval nodes in the Task Manager timeout
function.
2019-08-27 15:36:24 -04:00
Ryan Petrello
0522d45ab0
fixed a few issues related to approval role RBAC for normal users
2019-08-27 15:36:23 -04:00
beeankha
28289e85c1
Add timeout for workflow approval nodes
2019-08-27 15:36:22 -04:00
beeankha
5f82754a3f
Clean up RBAC code
2019-08-27 15:36:22 -04:00
beeankha
296b4e830b
Add more RBAC for approval nodes
2019-08-27 15:36:21 -04:00
mabashian
630f428d77
Cleanup a few jshint errors
2019-08-27 15:36:20 -04:00
mabashian
013792f0f8
Prompt bug cleanup. Filter workflow_approval jobs out of jobs list. Add initial support for timeout.
2019-08-27 15:36:20 -04:00
beeankha
3357c96774
Enable deletion of orphaned approval nodes
...
Update serializer to include workflow approval for activity stream
2019-08-27 15:36:19 -04:00
beeankha
64c94d478d
Add more RBAC, filter out AJT/AJs from unified jobs lists
...
Comment out placeholder in serializer
2019-08-27 15:36:17 -04:00
beeankha
453e142635
Fix UJT-related error, add notification placeholders
2019-08-27 15:35:43 -04:00
beeankha
24c5404c25
Fix error related to workflow_approval_templates/N endpoint
2019-08-27 15:30:50 -04:00
mabashian
4a801c60b9
Cleanup and changes to the way approval templates are created
2019-08-27 15:30:49 -04:00
beeankha
294d6551b9
Polishing up work on new endpoint
2019-08-27 15:30:48 -04:00
beeankha
320284267c
Add new endpoint for creation of approval nodes
2019-08-27 15:30:47 -04:00
mabashian
83f9681941
Fix jshint errors
2019-08-27 15:30:47 -04:00
mabashian
e0cdc4ff80
Approval drawer cleanup and workflow node form UX cleanup
2019-08-27 15:30:46 -04:00
mabashian
1d814beca1
Fix linting error
2019-08-27 15:30:45 -04:00
mabashian
0720857022
Add initial support for workflow pause approve
2019-08-27 15:30:44 -04:00
beeankha
82e0b2121b
Add approve/deny endpoints, fix some typos
2019-08-27 15:30:43 -04:00
beeankha
d76e9125e8
Clean up redundancies
2019-08-27 15:30:42 -04:00