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
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
richard-dds
da971fe868
Invalid project form submission should still route to projects/new
2018-08-23 16:47:42 -04:00
richard-dds
8d6c64f990
Remove unused import
2018-08-23 12:03:46 -04:00
richard-dds
8ac271e83e
Create environments while creating project
2018-08-22 17:06:13 -04:00
richard-dds
9875a11860
Workspace now response to .members
2018-08-22 11:49:05 -04:00
richard-dds
50e2666c3c
Move Projects and Environments into their own files
2018-08-22 11:24:39 -04:00
richard-dds
e2e6e6da4d
Redirect /workspaces/<id> to canonical URL
2018-08-22 10:10:24 -04:00
richard-dds
0469e061da
Check permissions when attempting to create a project
2018-08-21 20:52:46 -04:00
richard-dds
9669a42b9a
Workspaces.get requires user
2018-08-21 20:21:10 -04:00
richard-dds
5203690748
Create new project
2018-08-21 20:21:10 -04:00
richard-dds
0de8866919
workspace_projects route working
2018-08-21 20:21:10 -04:00
richard-dds
dcd69f6b9f
Workspaces page working
2018-08-21 20:21:10 -04:00
richard-dds
92553f3b39
Add Workspaces.get_many
2018-08-21 20:21:10 -04:00
Patrick Smith
34d652f33a
Add context processor to put allow accessing workspace in template
2018-08-21 14:52:06 -04:00
Patrick Smith
f8c3ac824a
Refactor workspace domain class to match other domain objects
2018-08-21 14:51:10 -04:00
Andrew Croce
06caa21b58
add workspace report route
2018-08-20 14:39:11 -04:00
dandds
8ec27cbb31
pylint fixes
2018-08-02 16:14:18 -04:00
richard-dds
f8cee60baa
Formatting
2018-08-02 13:44:54 -04:00
dandds
3a53fc122d
switch workspace routes and templates to Flask and Jinja
2018-08-02 13:18:44 -04:00