Commit Graph

120 Commits

Author SHA1 Message Date
Montana
e12c1f42db Move environment role method into domain 2018-09-25 11:13:24 -04:00
Montana
bead1990c9 Let input value be simple 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
f4c379ea25 Use modal inputs to pass environment id and env role to route 2018-09-25 11:13:23 -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
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
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
richard-dds
479b5a7f36 Formatting 2018-09-24 14:51:00 -04:00
richard-dds
86ee4c12a0 Use Role.displayname in "workspace role updated" modal 2018-09-24 14:35:32 -04:00
dandds
430efd211c display task order info on reports page 2018-09-24 11:03:20 -04:00
dandds
4e75927b52 mock report data for predetermined workspace names 2018-09-20 10:09:51 -04:00
andrewdds
6dba46af66 Merge pull request #303 from dod-ccpo/to-expiration-projection
Task order expiration projection
2018-09-20 10:08:45 -04:00
Andrew Croce
ee455e7f90 formatting 2018-09-19 12:12:04 -04:00
Andrew Croce
56eb480695 extrapolate days remaining with today, not the focused month 2018-09-19 12:10:15 -04:00
Andrew Croce
7f6cebbc5f mock expiration date in workspace/reports route 2018-09-19 10:45:54 -04:00
dandds
ca8b9028bc reports shows real budget information for total spend 2018-09-18 16:04:03 -04:00
dandds
c3f89ba149 add form for editing workspace name 2018-09-17 13:10:37 -04:00
dandds
021871ec16 route, form, and domain methods for updating workspace name 2018-09-17 11:40:58 -04:00
richard-dds
e997c5cedd Allow CCPO to view workspaces 2018-09-12 11:13:06 -04:00
Andrew Croce
d882c552dc starting charting 2018-09-11 11:23:22 -04:00
richard-dds
996596f2b3 Automatically assign workspace owner to environments 2018-09-10 13:35:16 -04:00
richard-dds
633957c61d Template has moved 2018-09-06 16:21:58 -04:00
richard-dds
549e4d6263 Use Workspaces.get_with_members 2018-09-06 16:21:24 -04:00
richard-dds
29e6d2934f Check VIEW_WORKSPACE_MEMBERS permission 2018-09-06 16:21:24 -04:00
Patrick Smith
c235e519fa Hook up Edit Project page 2018-09-06 14:58:34 -04:00
Patrick Smith
00e91ba789 Move requests & workspaces templates into directories 2018-09-06 14:58:34 -04:00
Patrick Smith
9d8fe572bb Default to current month for reporting 2018-09-06 09:57:15 -04:00
Patrick Smith
f0664e254c Use check_workspace_permission helper 2018-09-06 09:50:45 -04:00
Patrick Smith
d6da217e08 Run that formatter jawn 2018-09-05 17:31:32 -04:00
Patrick Smith
5abd592f78 Add query string args to control date/alternate date source 2018-09-05 17:26:58 -04:00
Patrick Smith
a9d705daac Add mock monthly reporting data 2018-09-05 17:26:58 -04:00
Patrick Smith
f33a7b4a9f Protect reports page with correct permission 2018-09-05 17:26:58 -04:00
Montana
40c248df16 Refactor and format 2018-09-05 15:13:08 -04:00
Montana
109249d953 Allow user to save without changing user's role 2018-09-05 14:16:20 -04:00
Montana
1b8233af89 Use update member form 2018-09-05 14:16:20 -04:00
Montana
75ea8025c1 Authorization check for edit member post route 2018-09-05 14:16:20 -04:00
Montana
ce44e4537a Add an alert for successful role update 2018-09-05 14:16:20 -04:00
Montana
8faed87e00 Update workspace role in the DB, add tests 2018-09-05 14:16:20 -04:00
Montana
b379972446 Check permissions before viewing member edit page 2018-09-05 14:16:19 -04:00
Montana
ea1a3926ac Wire up selector for updating a workspace user's role 2018-09-05 14:16:19 -04:00
richard-dds
0f2ba6efd0 Formatting 2018-08-31 16:05:37 -04:00
richard-dds
1f26596b5f Show success alert when new workspace user is created 2018-08-31 16:04:45 -04:00
richard-dds
2718a7acf6 Redirect to members list after creating a new member 2018-08-31 13:59:06 -04:00
richard-dds
b793d4a00a New route for creating workspace user 2018-08-31 13:25:14 -04:00
Andrew Croce
7509ee9cfc formatting magic 2018-08-28 13:00:00 -04:00
Andrew Croce
6317580350 False not false 2018-08-28 13:00:00 -04:00
Andrew Croce
610a7898bb create a user_can method in template context, to check against user permissions
add user permissions list to template context
2018-08-28 12:59:54 -04:00