Commit Graph

38 Commits

Author SHA1 Message Date
dandds
e259e7e440 Simplify User model string serialization.
There was a leftover method listing all the portfolios a user has access
to inside the string-serialization for the User. This is too verbose.
The leftover method was not being used anywhere else, so it was removed.
2019-09-04 13:03:09 -04:00
leigh-mil
2776926dea Move custom audit log logic into the User class 2019-08-19 10:25:26 -04:00
leigh-mil
e59e3b959c Add listener to User model to record permission set updates and update user audit log template 2019-08-13 16:36:38 -04:00
George Drummond
0fa43021f8 Use python rather than string for primaryjoin 2019-06-05 11:12:46 -04:00
richard-dds
5fe895e109 Id() column type is for primary keys 2019-05-28 10:45:36 -04:00
richard-dds
e037c81338 Only allow one session 2019-05-28 10:44:40 -04:00
leigh-mil
9f66bbafe5 Raise NotImplementedError in AuditableMixin if the model does not have the properties portfolio_id or application_id 2019-05-22 13:12:48 -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
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
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
866043495b updates to test factories to accomodate application roles 2019-04-08 13:31:19 -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
bec5d11bfe users have permission sets for site-wide perms 2019-03-21 05:38:28 -04:00
dandds
1a122c5335 rename role -> permission_set everywhere 2019-03-15 07:14:49 -04:00
dandds
0eec42c55b change constant names 2019-01-14 16:00:17 -05:00
dandds
d3d36822df workspace -> portfolio everywhere 2019-01-14 16:00:17 -05:00
Patrick Smith
5e737bad15 Add cloud_id to user model 2019-01-08 10:43:05 -05:00
leigh-mil
6bc157b2b3 Add phone ext 2018-11-07 12:03:52 -05:00
Patrick Smith
4e08f6f3fa Formatting fix 2018-10-31 14:19:27 -04:00
patricksmithdds
0b44980ccb Merge branch 'master' into require-personal-info 2018-10-31 14:12:55 -04:00
dandds
49f5edfe29 new workspace members are provisional until they log in for the first time 2018-10-31 10:21:48 -04:00
Patrick Smith
f8c4386d84 Add model attribute for profile completeness 2018-10-30 15:32:04 -04:00
Patrick Smith
891dcc5b31 Keep list of required fields on user model 2018-10-30 15:32:04 -04:00
dandds
30318b68bb add additional user fields 2018-10-16 09:18:13 -04:00
dandds
e7a117be33 move user edit routes into their own module and blueprint 2018-10-16 09:18:13 -04:00
Patrick Smith
8bb9c1ab8a Add __repr__ to models 2018-10-02 14:14:39 -04:00
richard-dds
d784c03eec Display user names in audit log 2018-10-01 11:38:53 -04:00
richard-dds
a71c2537ef Log audit events for Users 2018-09-25 13:41:48 -04:00
richard-dds
de338f675f Add lots of NOT NULL constraints 2018-09-21 14:00:01 -04:00
richard-dds
5f54468082 Timestamps and uuids everywhere 2018-09-21 14:00:01 -04:00
richard-dds
4ab73cc06b Redirect CCPO user to requests page 2018-09-18 11:08:19 -04:00
richard-dds
e997c5cedd Allow CCPO to view workspaces 2018-09-12 11:13:06 -04:00
richard-dds
e9cf732798 Use full_name property of User 2018-08-06 16:26:47 -04:00
richard-dds
13146e9362 Implement log_in_user 2018-08-06 10:44:00 -04:00
dandds
0f8e303afa import user model changes from authnid 2018-08-06 10:44:00 -04:00
dandds
8c75a5239d import authz models 2018-07-31 11:50:33 -04:00