Commit Graph

377 Commits

Author SHA1 Message Date
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
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
richard-dds
982e3884a8 Rename to _map_request, since it's a private method 2018-09-04 15:12:17 -04:00
richard-dds
319f6c05c2 Refactor requests index route for easier testing 2018-09-04 14:57:01 -04:00
richard-dds
58593fc7d6 Determine if action is required by current user on each request 2018-09-04 14:19:19 -04:00
richard-dds
acc9f21e78 Fix date format 2018-09-04 13:20:37 -04:00
richard-dds
0af7fb4573 Use last_submission_timestamp in requests index 2018-09-04 13:09:48 -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
patricksmithdds
734c1ea006 Merge pull request #232 from dod-ccpo/review-by-user
Allow user to view submitted request
2018-08-31 10:27:44 -04:00
richard-dds
e945e43f74 Formatting 2018-08-30 16:31:09 -04:00
richard-dds
f389bd31d1 Check submitted request for financial verification 2018-08-30 16:31:09 -04:00
richard-dds
62aacf55e7 If request FV is not verified, redirect to requests index 2018-08-30 16:31:08 -04:00
richard-dds
ccf1b3b5aa Do submit financial verification 2018-08-30 16:31:08 -04:00
richard-dds
8a813d9ac3 Display workspace link for approved requests 2018-08-30 16:31:08 -04:00
richard-dds
60275f8c3a Check that request is financially verified before approving 2018-08-30 16:31:08 -04:00
richard-dds
a2d4602f0c Remove unused route 2018-08-30 16:31:08 -04:00
Patrick Smith
622d28dd8b Remove unused imports 2018-08-30 15:02:02 -04:00
Patrick Smith
457f8de608 Remove now unnecessary auth check 2018-08-30 14:45:39 -04:00
Patrick Smith
7040157f25 Formatting fixes 2018-08-30 14:45:39 -04:00
Patrick Smith
d785f19b5b Enforce authorization when getting a request 2018-08-30 14:45:39 -04:00
Patrick Smith
e7aed35054 Link to pending request page from index 2018-08-30 14:45:39 -04:00
Patrick Smith
0906134f56 Move data variables to context for easier re-use 2018-08-30 14:31:12 -04:00
Patrick Smith
4d6f51ed7f Add route for read-only view of request 2018-08-30 14:31:12 -04:00
dandds
0a36f1d6ca move request review information into a partial 2018-08-30 13:25:21 -04:00
montana-mil
06968940b8 Merge pull request #218 from dod-ccpo/no-projects
Empty states and some permissions
2018-08-28 13:46:54 -04:00
dandds
792114b063 Merge pull request #219 from dod-ccpo/pdf-uploads-#159940565
Pdf uploads
2018-08-28 13:26:01 -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
Patrick Smith
6d04702dad Handle unauthorized error in workspace context
Previously, an `UnauthorizedError` raised when attempting to view an
workspace that you are not authorized for would show an error instead of
the "not found" page since a second `UnauthorizedError` would be raised
evaluating the context for the "not found" page.
2018-08-28 09:33:18 -04:00
richard-dds
6a681fc54a New view for creating a new workspace member 2018-08-27 16:08:31 -04:00
Montana
cfe9b7589e Formatting 2018-08-27 13:08:02 -04:00
richard-dds
da5dbc5bdd Redirect to new project form after FV approval 2018-08-24 13:53:25 -04:00
richard-dds
52f577aea6 Merge pull request #208 from dod-ccpo/formatting
Python formatting
2018-08-24 10:35:25 -04:00
richard-dds
b34fb66695 Extract a variable to avoid some strange formatting 2018-08-24 10:16:33 -04:00
richard-dds
da971fe868 Invalid project form submission should still route to projects/new 2018-08-23 16:47:42 -04:00
richard-dds
daa8634cb4 Format project 2018-08-23 16:25:36 -04:00
richard-dds
8806705bc3 Merge pull request #206 from dod-ccpo/multiple-environments
Allow a user to add multiple environments when creating a project
2018-08-23 16:15:00 -04:00
richard-dds
8c0bd133ce Merge pull request #207 from dod-ccpo/fix-poc-form-email
Pull workspace owner information from Information About You Step
2018-08-23 15:02:13 -04:00