Commit Graph

1579 Commits

Author SHA1 Message Date
richard-dds
eb200fbd67 Create Workspaces._get 2018-09-06 16:21:58 -04:00
richard-dds
3e74ff9c05 Remove unused import 2018-09-06 16:21:58 -04:00
richard-dds
d569e02a47 Formatting 2018-09-06 16:21:58 -04:00
richard-dds
6c0df3b0cb Use check_workspace_permission 2018-09-06 16:21:58 -04:00
richard-dds
40c141f146 Remove random 2018-09-06 16:21:58 -04:00
richard-dds
e7ae4cf80f Formatting 2018-09-06 16:21:24 -04:00
richard-dds
549e4d6263 Use Workspaces.get_with_members 2018-09-06 16:21:24 -04:00
richard-dds
bdab58f150 Add a new "view workspace" permission 2018-09-06 16:21:24 -04:00
richard-dds
361630e446 Use helper methods for adding and removing permissions 2018-09-06 16:21:24 -04:00
richard-dds
29e6d2934f Check VIEW_WORKSPACE_MEMBERS permission 2018-09-06 16:21:24 -04:00
richard-dds
398bdac871 Add new VIEW_WORKSPACE_MEMBERS permission to owner and ccpo 2018-09-06 16:21:24 -04:00
richard-dds
ea3f1b926c Display workspace members 2018-09-06 16:21:24 -04:00
richard-dds
5ba76354a3 Show "No Environment Access" flag 2018-09-06 15:41:03 -04:00
Patrick Smith
c235e519fa Hook up Edit Project page 2018-09-06 14:58:34 -04:00
Patrick Smith
9c9374541b Add get project method 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
richard-dds
011a5371b5 Merge pull request #256 from dod-ccpo/environment-users
Show how many members are in an environment
2018-09-06 14:40:21 -04:00
richard-dds
a69d6b2e1c Use Environment.num_users in projects template 2018-09-06 14:01:37 -04:00
richard-dds
3edbfa3129 Add and list environment members 2018-09-06 13:53:19 -04:00
richard-dds
e5a0d69844 Add migration for EnvironmentRole 2018-09-06 13:51:31 -04:00
Patrick Smith
0a1cb6a5c9 Add mock data for cumulative budget reports 2018-09-06 10:13:13 -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
4982b80d9b Add alternate set of mock reporting data 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
Patrick Smith
557df21a30 Add initial Reports object 2018-09-05 17:26:32 -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
1808acd5f4 Use new method for checking workspace permissions 2018-09-05 14:16:20 -04:00
Montana
03715d8e9b Remove MOCK_MEMBERS data 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
dandds
4b25cc19d9 Merge pull request #238 from dod-ccpo/request-schema-#159719829
Request schema #159719829
2018-09-05 13:22:58 -04:00
dandds
e03ddd9474 make uii_ids an array column 2018-09-05 12:42:33 -04:00
richard-dds
0a783c0a1e Merge pull request #243 from dod-ccpo/action-required-flag
Action required flag
2018-09-05 12:04:10 -04:00
richard-dds
fa105a95e3 Redirect to home after login, which redirects elsewhere 2018-09-05 10:39:05 -04:00
richard-dds
cbcb33d125 Use dict literal instead of dict() 2018-09-05 10:28:05 -04:00
richard-dds
2e77387d98 Remove conditional 2018-09-04 18:09:04 -04:00
richard-dds
533dc8e0f6 Redirect CCPO to requests index after login 2018-09-04 16:18:43 -04:00
dandds
e810a4afe8 cleanup from rebase 2018-09-04 16:17:52 -04:00
dandds
9cbcba5101 remove unused Requests method 2018-09-04 16:15:36 -04:00
dandds
1e0523ebf6 new request statues events should be associated with latest revision 2018-09-04 16:15:36 -04:00
dandds
59fdad8554 use regular WTForms DateField for requests dates 2018-09-04 16:15:36 -04:00