2363 Commits

Author SHA1 Message Date
richard-dds
112f85a10e Add audit log permission to CCPO 2018-09-25 13:09:54 -04:00
richard-dds
ddc2e2fad7 Automatic audit logging using SQLA events 2018-09-25 13:09:54 -04:00
montana-mil
b7a33de29d
Merge pull request #304 from dod-ccpo/assign-csp-roles
Assign and Update Environment Roles for Workspace Users
2018-09-25 11:48:13 -04:00
Montana
e17ede4514 No destructuring in IE10 2018-09-25 11:13:24 -04:00
Montana
18776aa71c Fix tests 2018-09-25 11:13:24 -04:00
Montana
8fd1d93f2e Prevent saving environment roles as empty strings 2018-09-25 11:13:24 -04:00
Montana
e1767488c7 Fix seed script bug 2018-09-25 11:13:24 -04:00
Montana
d05edb4aa5 Remove unused imports leftover from rebase 2018-09-25 11:13:24 -04:00
Montana
83c4483c42 Pass environment role choices directly from the view to the template instead of via the form 2018-09-25 11:13:24 -04:00
Montana
54af62a58a Test workspace update_member route 2018-09-25 11:13:24 -04:00
Montana
90657e213a Update to FlaskForm 2018-09-25 11:13:24 -04:00
Montana
3a978a1673 Fix bugs and write a test 2018-09-25 11:13:24 -04:00
Montana
e12c1f42db Move environment role method into domain 2018-09-25 11:13:24 -04:00
Montana
6d50c228af Fix bug that would save a user's modal selection even if the user canceled out of the modal 2018-09-25 11:13:24 -04:00
Montana
a071ff625f Rename confusing variable 2018-09-25 11:13:24 -04:00
Montana
a8b777acda Infer if the user has no environment role 2018-09-25 11:13:23 -04:00
Montana
e9f9ff0cd5 Fix update environment role bug 2018-09-25 11:13:23 -04:00
Montana
5522811f4e Add permission check and refactor update_environment_role method 2018-09-25 11:13:23 -04:00
Montana
95d826be09 All modals use activeModal 2018-09-25 11:13:23 -04:00
Montana
43a91e8c22 Display the environment role nicely 2018-09-25 11:13:23 -04:00
Montana
a1cf4335ce Use Vue to get label class dynamically 2018-09-25 11:13:23 -04:00
Montana
b973d3cf45 Clear the changed environment display if the user cancels out of modal 2018-09-25 11:13:23 -04:00
Montana
bf605d1ce6 Vue function to display the environment role in a friendlier format 2018-09-25 11:13:23 -04:00
Montana
bead1990c9 Let input value be simple 2018-09-25 11:13:23 -04:00
Montana
32d04bfce4 Make environment role display dynamic 2018-09-25 11:13:23 -04:00
Montana
ccce20c48c Update environment role with real data 2018-09-25 11:13:23 -04:00
Montana
0d80604fcd Fix bug 2018-09-25 11:13:23 -04:00
Montana
f4c379ea25 Use modal inputs to pass environment id and env role to route 2018-09-25 11:13:23 -04:00
Montana
c0bb9e1024 Modal for each environment role 2018-09-25 11:13:22 -04:00
Montana
5a5d81eb7f Update the template to show real data 2018-09-25 11:13:22 -04:00
Montana
79c357dcab Write query to change the environment role based on mock data 2018-09-25 11:13:22 -04:00
Montana
c3da34e7cb Capture environment role from modal 2018-09-25 11:13:22 -04:00
Montana
3c9243686a Don't use Vue for the environment roles modal 2018-09-25 11:13:22 -04:00
Montana
50f9794c34 Update ENVIRONMENT_ROLES 2018-09-25 11:13:22 -04:00
Montana
19a8078bb2 working commit 2018-09-25 11:13:22 -04:00
Montana
04672b9aeb Catch environment role selection 2018-09-25 11:13:22 -04:00
Montana
5b973ab1e4 Fix selection on modal, fix a typo 2018-09-25 11:13:22 -04:00
andrewdds
2bbb859ad8
Merge pull request #327 from dod-ccpo/dummy-help-page
Dummy help page
2018-09-25 11:08:56 -04:00
richard-dds
daa41609e1
Merge pull request #324 from dod-ccpo/fix-members-list-screen
Use proper display name for workspace roles
2018-09-25 10:12:57 -04:00
Andrew Croce
93ae48ea83 use url_for 2018-09-25 09:45:34 -04:00
Patrick Smith
5a18536125 Rename internal comment test 2018-09-25 09:45:34 -04:00
Patrick Smith
aaf15ee268 Give me some space 2018-09-25 09:45:34 -04:00
richard-dds
ac1c4cd5b7 Display members' count of environment roles 2018-09-25 09:45:34 -04:00
Patrick Smith
5fec89d120 Remove fake comment data 2018-09-25 09:45:34 -04:00
Patrick Smith
fafe98756b Show error on page if submitting an empty comment 2018-09-25 09:45:34 -04:00
Patrick Smith
bed03901c2 Allow adding an internal comment on a request 2018-09-25 09:45:34 -04:00
Patrick Smith
0f14eabc44 Allow having multiple internal comments on a request 2018-09-25 09:45:34 -04:00
dandds
dbe1c0ff5b better date range for task order expiration date in test factory 2018-09-25 09:45:34 -04:00
dandds
32a97c29be better fake task order numbers for tests 2018-09-25 09:45:34 -04:00
dandds
041d16539d add link for editing workspace info to task order box on reports page 2018-09-25 09:45:34 -04:00