dandds
b7a8cd4168
Refinements to the new application member modal
...
- remove extra padding from second modal screen
- update modal styles to more closely match designs
- ad `user_name` property to application_role model to fix flash message
2019-04-30 14:43:23 -04:00
dandds
ade77e6b91
Route for adding new application member
...
- domain method for creating a new application member
- ApplicationInvitations domain class
- nested form for adding a new user that holds user data, application
permission sets, and environment roles
- Invitation service can infer invitation type based on role it's given
- new invitation email templates
2019-04-30 14:41:55 -04:00
dandds
054f6b80b9
add application_invitation table
2019-04-30 14:41:55 -04:00
dandds
c4ad7b4378
Make portfolio invitation specific to portfolio
...
- add a base domain class
- extract shared model code to mixin
- rename invitation classes
- invitation model relationship to portfolio_role name is now more
generic "role"
2019-04-30 14:41:55 -04:00
Montana
94e3dc637a
Remove has_member function from application model
2019-04-30 10:27:15 -04:00
Montana
19a09b792e
Use user.id to check if user is in application
2019-04-29 13:38:17 -04:00
Montana
fec4687c02
Check for member in application function, not user function
2019-04-29 11:06:37 -04:00
Montana
c9deaeec72
Add is_app_member() to user model
2019-04-29 11:06:37 -04:00
George Drummond
769867c6a9
Display app users view only table
2019-04-17 13:25:45 -04:00
Montana
89b5bfdef5
User no longer has unique email
2019-04-17 11:06:10 -04:00
dandds
0bde431a70
extend soft delete functionality to app and env roles
2019-04-15 15:58:38 -04:00
dandds
dac764ab82
route for deleting an application
2019-04-15 15:58:38 -04:00
dandds
0348af7ce7
record soft deletion in audit log for applications and environments
2019-04-15 15:58:38 -04:00
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
9084dce762
build out seed sample script
...
- semi-random data for applications and environments
- added users to applications and environments
- updated CSPRole enum with current CSP roles
2019-04-11 15:38:27 -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
0ac8c9632b
add application permission sets
2019-04-08 13:31:19 -04:00
dandds
f1bd1eea7e
add application role model
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
a5848877ae
No need to include user_id in audit event log
2019-04-04 08:33:07 -04:00
Montana
747a59825a
Use JSONLogger to log audit event information
2019-04-03 15:39:18 -04:00
leigh-mil
610aef428d
Add user's last login to the session data
2019-04-03 12:24:02 -04:00
leigh-mil
dec3a0eb48
Migration for last_login column
2019-04-03 12:24:02 -04:00
dandds
1974c89e9c
Merge pull request #714 from dod-ccpo/ccpo-permission-sets
...
CCPO permission sets
2019-03-21 13:27:31 -04:00
Montana
762c111751
Move template logic to route function
2019-03-21 09:40:38 -04:00
dandds
bec5d11bfe
users have permission sets for site-wide perms
2019-03-21 05:38:28 -04:00
leigh-mil
e2bf820de6
Check if invite cannot be resent before raising error
2019-03-18 09:41:35 -04:00
dandds
13bc7f56b0
Merge pull request #701 from dod-ccpo/portfolio-perms
...
Portfolio perms
2019-03-18 08:40:35 -04:00
dandds
23584da57b
changes to increase test branch coverage
2019-03-15 14:41:24 -04:00
dandds
762d2289a3
rename portfolio_role -> permission_sets join table, remove older roles property
2019-03-15 07:14:49 -04:00
dandds
b0e48134b0
trim old permissions list
2019-03-15 07:14:49 -04:00
dandds
78aa2dfcc6
permission set names should be constants on the domain class
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
dandds
798eb7e1b0
first cut of portfolio permission sets
2019-03-15 07:14:49 -04:00
dandds
31bcb662b5
add join table between portfolio_roles and roles
2019-03-15 07:14:49 -04:00
leigh-mil
e3956180b4
Add property to TO that returns a list of the officers
2019-03-14 20:08:57 -04:00
Montana
4a100f913f
Add num_task_orders property
2019-03-08 10:54:51 -05:00
leigh-mil
febb2c5d0a
Fake remaining balance for A-Wing and B-Wing
2019-03-01 14:57:03 -05:00
leigh-mil
f1b9bf19a7
Update migration order and change loa to loas
2019-03-01 11:02:15 -05:00
leigh-mil
070ccec23f
Add migration for LOA array type
2019-03-01 11:02:15 -05:00
George Drummond
17c175b698
Invite Officer From Manage Invitations Page
2019-02-28 11:44:07 -05:00
Montana
7ee8858cc7
Add defense_component to Portfolio when new task_order is created without an existing portfolio
2019-02-26 11:29:16 -05:00
Montana
f8a6d04d64
Move defense_component to portfolios model
2019-02-26 11:22:24 -05:00
Patrick Smith
b778942dd7
Remove unused get_by_request helper
2019-02-25 14:54:14 -05:00
Patrick Smith
2d03111a9d
Remove legacy task order model
2019-02-25 14:54:14 -05:00
Patrick Smith
75f9b57979
Remove PE number model
2019-02-25 14:54:14 -05:00