Commit graph

39 commits

Author SHA1 Message Date
Alysia Broddrick
cca111bdec
change very import person to verfied by staff 2024-01-29 14:39:26 -08:00
Rachid Mrad
510da21934
Implement VIP table and fix 401 login bug 2024-01-18 19:58:53 -05:00
David Kennedy
e36351d21e
lowercase emails on add user to domain; case insensitive match on matching DomainInvitations on login; test cases 2023-12-14 07:44:31 -05:00
zandercymatics
8b0e5f0493
Fix linter 2023-12-12 12:09:33 -07:00
zandercymatics
325956b392
Fix filter 2023-12-12 11:09:30 -07:00
rachidatecs
796bda8493
Merge pull request #1462 from cisagov/dk/1433-oidc-mult-levels
Issues 1433, 1435: Multi-level identity-verification based on users
2023-12-11 21:06:31 -05:00
David Kennedy
f7fdecfd33
updated comments to reflect tests; made logic more readable in needs_identity_verification 2023-12-08 17:32:25 -05:00
zandercymatics
b85f1e9d1b
Linting 2023-12-08 11:53:48 -07:00
Rachid Mrad
1001454a85
More oidc tests test_login_callback_requires_step_up_auth and test_login_callback_no_step_up_auth, lint 2023-12-07 16:33:35 -05:00
Rachid Mrad
bb19da9008
Unit tests for needs_identity_verification 2023-12-06 22:59:56 -05:00
Rachid Mrad
ef9a542dda
Clean up loggers 2023-12-06 19:53:15 -05:00
Rachid Mrad
67d20a6296
Move the test for requires_step_up_auth up above the user authentication in login_callback, imlement needs_identity_verification in user model 2023-12-06 18:16:50 -05:00
David Kennedy
f6a288f511
set up step_up_auth using stubbed out User.needs_identity_verification 2023-12-06 15:49:21 -05:00
David Kennedy
695b4199f3
wip 2023-12-06 13:58:47 -05:00
Rachid Mrad
00c04783b5
Change choices for Domain INvitation status to tuple constants 2023-12-05 19:28:20 -05:00
zandercymatics
f71cded6e2
Update test cases / linter 2023-11-15 10:01:03 -07:00
zandercymatics
6c0509d4b5
Update user.py 2023-11-15 09:51:32 -07:00
David Kennedy
c760417e6a
updated linter length; linter reformatted several files 2023-11-10 11:05:18 -05:00
David Kennedy
93370d45c2
checking transition domains on each login rather than on first login only 2023-11-07 15:01:02 -05:00
CocoByte
1a3c095e0b
linted
Signed-off-by: CocoByte <nicolle.leclair@gmail.com>
2023-10-19 23:41:19 -06:00
CocoByte
bc14129f95
mostly linted
Signed-off-by: CocoByte <nicolle.leclair@gmail.com>
2023-10-19 22:45:16 -06:00
CocoByte
7998508881
Added unit tests
Signed-off-by: CocoByte <nicolle.leclair@gmail.com>
2023-10-19 17:16:09 -06:00
CocoByte
44b3e78aed
updated user login logic for one-to-many transition domains relationship, and added some error handling 2023-10-18 13:28:49 -06:00
CocoByte
5dd76bfeef
Add logic for transition domains in user-login handler
Signed-off-by: CocoByte <nicolle.leclair@gmail.com>
2023-10-18 11:06:06 -06:00
Rachid Mrad
155baa0200
unit tests, add cisa_analyst permission in the cisa_analysts_group for better grannular hasPerm testing in admin.py 2023-09-29 13:40:06 -04:00
Rachid Mrad
cd14eb2584
Refactor groups and permissions: divide fixtures in 2 files, one for users and one for data, load groups in migrations (using methods defined in user_groups model), use hasperm in admin to test for 'superuser' 2023-09-28 17:34:53 -04:00
Rachid Mrad
3310689519
Add DraftDomain to superusers and staff, Add filter to domains (state), Update user table definition to show first, last AND email by default, Use inline editors to expose DomainInformation, Make Domain Information fields available to CISA Analyst 2023-09-13 16:20:14 -04:00
Rachid Mrad
501cddebde
Change ineligible to restricted on User, fix status tempplate for DAs 2023-08-29 14:16:39 -04:00
rachidatecs
91d1b9c1cc
Lint 2023-08-24 19:09:57 -04:00
rachidatecs
c98392baac
Add ineligible status on domain application, on user. Trigger fsm transition on domain application which triggers status ineligible on user. Edit permissions on domains and newly created application wizard perm class to block access to ineligible users. Run migrations. 2023-08-18 17:24:34 -04:00
Neil Martinsen-Burrell
63979afe32
Fix linting errors 2023-04-04 14:59:04 -05:00
Neil Martinsen-Burrell
e4233870d6
Review feedback: exception handling 2023-04-04 14:50:36 -05:00
Neil Martinsen-Burrell
f66df2c931
Review feedback: name changes 2023-04-03 15:04:53 -05:00
Neil Martinsen-Burrell
64553e0d01
Tweak templates and save invitation status change 2023-03-28 13:56:59 -05:00
Neil Martinsen-Burrell
e54dda3ddd
Retrieve domain invitations on first login 2023-03-27 16:10:33 -05:00
Neil Martinsen-Burrell
2451cd8d11
Merge branch 'main' into nmb/rbac 2023-03-10 10:07:00 -06:00
Seamus Johnston
b65f1a63d3
Update post_save to work with Contact 2023-03-07 11:07:20 -06:00
Neil Martinsen-Burrell
49b4f078e8
Add UserDomainRole table and helpers 2023-03-06 12:03:29 -06:00
Seamus Johnston
8b8ade428b
Refactor model layout 2022-11-10 08:52:28 -06:00