dandds
1c0c5dd9c5
soft deletes available for applications and environments
...
- parent relation will not include applications or environments marked
as deleted
- domain classes will exclude deleted objects from selections
- changed some test factories to use domain_word for resource names,
because they were using person names and it bugged me
2019-04-15 15:58:38 -04:00
dandds
b17741acd1
Adds an ORM permission set listener for application roles.
...
Application role changes will be recorded in the audit log. Generalizes
pre-existing listener that was in user for portfolio roles.
2019-04-08 14:00:26 -04:00
dandds
866043495b
updates to test factories to accomodate application roles
2019-04-08 13:31:19 -04:00
dandds
8827130444
record portfolio_role permission_set changes with bulk_replace event
2019-04-04 19:00:48 -04:00
Montana
8057c7b2fc
Log audit events before we save them to the DB
2019-04-04 08:58:27 -04:00
Montana
86f106f6d1
Test logging events for auditable mixin
2019-04-03 17:07:33 -04:00
dandds
4a0dd2d432
remove unused domain methods and arguments
2019-03-22 06:31:20 -04:00
Montana
8234037b11
Add tests for has_permission_sets
2019-03-21 09:47:59 -04:00
dandds
23584da57b
changes to increase test branch coverage
2019-03-15 14:41:24 -04:00
dandds
78aa2dfcc6
permission set names should be constants on the domain class
2019-03-15 07:14:49 -04:00
dandds
d3c3209fc0
cleanup unused portfolio roles
2019-03-15 07:14:49 -04:00
dandds
1a122c5335
rename role -> permission_set everywhere
2019-03-15 07:14:49 -04:00
dandds
0c2ab6fb7a
remove portfolio_role direct relationship to role
2019-03-15 07:14:49 -04:00
dandds
6805041b13
portfolio role knows its entire permissions list
2019-03-15 07:14:49 -04:00
George Drummond
03bda7ec39
Workspaces are now portfolios
2019-03-13 09:45:57 -04:00
Patrick Smith
2d03111a9d
Remove legacy task order model
2019-02-25 14:54:14 -05:00
Patrick Smith
2c62f54b83
Remove request-related models
2019-02-25 14:54:14 -05:00
Patrick Smith
6fb333acb9
Remove Requests domain classes
2019-02-25 14:54:13 -05:00
Patrick Smith
ba3000dccc
Add started status to task order model
2019-02-13 10:24:02 -05:00
Patrick Smith
c3157596be
Add property to get number of users in an application
2019-02-07 18:45:36 -05:00
Montana
9182b1078c
Refactor attachment setters and add tests
2019-02-07 11:27:03 -05:00
Montana
d980260e7f
Update test
2019-02-05 10:49:51 -05:00
Patrick Smith
045dcef6f9
Handle submitting form without csp estimate
2019-01-23 16:30:28 -05:00
Patrick Smith
672c562323
Allow removing a csp estimate from a task order
2019-01-23 11:16:54 -05:00
Patrick Smith
f580f69d35
Raise error if csp estimate is not of proper type
2019-01-23 11:16:54 -05:00
Patrick Smith
c9639435aa
fixup w/ 8f8e7fa6
2019-01-15 10:54:39 -05:00
Patrick Smith
8f8e7fa65e
Add active & expired task order statuses
2019-01-15 10:51:00 -05:00
dandds
d3d36822df
workspace -> portfolio everywhere
2019-01-14 16:00:17 -05:00
dandds
3fc323d785
project -> application everywhere
2019-01-14 16:00:17 -05:00
Patrick Smith
2b61621402
Fix setting default status on task orders
2019-01-11 10:35:04 -05:00
Patrick Smith
442e136a4b
Don't return filename from upload
...
The uploader only needs to return the object_name of the uploaded
object. The filename is read directly from the input, so there's no need
to return it as well.
2018-12-21 14:08:30 -05:00
dandds
6d92755a7f
new workspace and task order routes
2018-12-18 09:44:02 -05:00
dandds
e509c34cdd
change name of request relationship to legacy task order
2018-12-13 11:36:45 -05:00
dandds
2f515d7b47
change current task order table name
...
rename existing task order factory
fix legacy task order repr
2018-12-13 11:36:44 -05:00
dandds
38f553b9c3
add database trigger to ensure dod id is never updated
2018-12-12 10:48:25 -05:00
Montana
a4caf98ef7
Removed repetitive code in tests
2018-12-04 16:20:40 -05:00
Montana
9ddac1fa61
Prevent invitations without a workspace role
2018-12-03 16:49:59 -05:00
richard-dds
35150dfa10
Also remove enviornment access (stub)
2018-11-29 10:36:53 -05:00
leigh-mil
451d4a5ac0
Add tests
2018-11-28 14:39:03 -05:00
Montana
ce669fd086
Add tests
2018-11-26 15:28:19 -05:00
Montana
21827891f7
Fixups from rebase
2018-11-21 14:36:17 -05:00
Montana
78f3495c3f
formatting
2018-11-21 14:25:23 -05:00
Montana
8cc9a21770
Fix audit event query
2018-11-21 14:25:23 -05:00
Montana
67a6fe4556
Make sure the WorkspaceRoleFactory is only flushing to the DB
2018-11-21 14:25:22 -05:00
Montana
3b2594283f
Use WorkspaceRoleFactory in tests
2018-11-21 14:24:54 -05:00
Montana
8b172ba3e2
wip for safety
2018-11-21 14:24:41 -05:00
Montana
c071945b3b
Spelling error and better name use
2018-11-21 14:23:37 -05:00
leigh-mil
49ed02ad04
wip - Add tests for status change
2018-11-21 14:23:37 -05:00
leigh-mil
f35d0add55
Minor fixes
2018-11-21 14:23:35 -05:00
leigh-mil
88eda7cd92
Update test assertion
2018-11-21 14:22:11 -05:00