2636 Commits

Author SHA1 Message Date
richard-dds
4a5b9967ef Store request_id when available 2018-09-25 13:09:54 -04:00
richard-dds
5e479feadc Implement Workspace.displayname 2018-09-25 13:09:54 -04:00
richard-dds
b2c59f39ef Only display "in workspace x" resource isn't a workspace 2018-09-25 13:09:54 -04:00
richard-dds
004985057c auditable_workspace_id for Environment 2018-09-25 13:09:54 -04:00
richard-dds
0c8d303bdd Faster (no join) default impl. of auditable_workspace_id 2018-09-25 13:09:54 -04:00
richard-dds
85d866956b Add display_name property to AuditEvent 2018-09-25 13:09:54 -04:00
richard-dds
870929afd6 Rename resource_name to resource_type 2018-09-25 13:09:54 -04:00
richard-dds
22f02f604f Add test which ensures that CCPO can view the audit log 2018-09-25 13:09:54 -04:00
richard-dds
5a4cbb56bb Formatting 2018-09-25 13:09:54 -04:00
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
Devon Mackay
ab5580456d Fix typo 2018-09-25 12:13:20 -04:00
Devon Mackay
c65f8fb7da Fix output text 2018-09-25 12:12:54 -04:00
Devon Mackay
daa4f13221 Fix GitHub link generation
- Detect if the origin URL is in SSH or HTTPS format
- Create HTTPS GitHub URLs after converting the origin URL
2018-09-25 12:06:41 -04:00
richard-dds
8b56931d5c Also update Role.display_name 2018-09-25 12:06:40 -04:00
Montana
6986213780 Cancel button redirects to members view page 2018-09-25 12:03:54 -04:00
dandds
7ae201655a refactor new project component form validation 2018-09-25 12:02:59 -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
Patrick Smith
a933a9d71e Fix link to github repo in buildinfo.json 2018-09-25 11:24:39 -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