richard-dds
1bce0a1f01
Revert user deletion job
2019-10-14 16:51:19 -04:00
richard-dds
0c480ccc41
Fix tests
2019-10-08 16:42:25 -04:00
leigh-mil
c9f654664c
Update test to check that env role was deleted and that the status changed on the app role
2019-09-26 10:46:29 -04:00
leigh-mil
663fb9f288
Use ApplicationRoles.disable() instead of Applications.remove_member()
2019-09-26 09:53:20 -04:00
leigh-mil
ddcd91964f
Remove route 'applications.update_env_roles' and related functions and tests
2019-09-11 15:29:09 -04:00
dandds
c085db23d7
New invitation backend for portfolio invitations.
...
Portfolio invitations do not associate a user entity until the
invitation has been accepted. User info, including DOD ID, is held on
the invitation itself. When a user accepts and invitation, their user
entry is associated with the corresponding `portfolio_role` entry.
The same change will be applied to `application_role` and application
invitations. For now, small changes have been made to
application-related methods so that that flow works as-is.
2019-06-03 15:57:49 -04:00
dandds
a332d1432e
Use application_role.id to reference users in team page forms.
...
Membership in a resource should be decoupled from the users table.
2019-05-23 10:13:57 -04:00
Montana
d5307b440f
Make user_id required and add post tests
...
- raise an exception in ApplicationRoles.get()
- permission_sets is not changed if bad data is sent
2019-05-07 16:21:17 -04:00
Montana
526bcb1661
Update tests
2019-05-07 09:31:04 -04:00
dandds
a2ebdf78a0
Route for accepting an application invitation.
...
- Domain method for enabling an application role.
- Updated ApplicationRole model `history` property so that it serializes
the `status` correctly
2019-05-03 17:11:57 -04:00
Montana
0736b229bf
Do not use mutable kwarg to set default permission set on application role
2019-04-29 13:39:43 -04:00
dandds
265833f3fc
ApplicationRoles.create should accept permission set names
2019-04-11 11:32:17 -04:00
George Drummond
50a532ddbb
ApplicationRoles seed and domain
2019-04-11 10:03:21 -04:00