Commit Graph

2281 Commits

Author SHA1 Message Date
George Drummond
3690d98260 CRL check is passed in and not hard coded 2019-03-20 13:11:13 -04:00
George Drummond
03812e77e4 Standardize variable naming 2019-03-20 13:11:13 -04:00
George Drummond
cb222b1bd0 Use is rather than == 2019-03-20 13:11:13 -04:00
George Drummond
68d33ed558 Remove comment 2019-03-20 13:11:13 -04:00
George Drummond
f2ae591c87 Verify PDF signatures 2019-03-20 13:11:12 -04:00
montana-mil
3d2f8b16e0 Merge pull request #709 from dod-ccpo/resend-invites-fix
Resend invites fix
2019-03-20 11:29:20 -04:00
George Drummond
2cce348411 Add in translations 2019-03-18 11:17:42 -04:00
George Drummond
d0522303d5 Update invite flash copy 2019-03-18 10:08:30 -04:00
leigh-mil
e2bf820de6 Check if invite cannot be resent before raising error 2019-03-18 09:41:35 -04:00
montana-mil
6d43153785 Merge pull request #708 from dod-ccpo/use-noaccesserror
Use NoAccessError instead of NotFoundError
2019-03-18 09:39:57 -04:00
dandds
13bc7f56b0 Merge pull request #701 from dod-ccpo/portfolio-perms
Portfolio perms
2019-03-18 08:40:35 -04:00
leigh-mil
32a705d1d3 Move NotFoundError into the lookup method 2019-03-15 15:11:52 -04:00
montana-mil
79feb16072 Merge pull request #700 from dod-ccpo/crl-failover
CRL Failover Config
2019-03-15 14:56:03 -04:00
dandds
23584da57b changes to increase test branch coverage 2019-03-15 14:41:24 -04:00
dandds
4ec9ead1ac Update atst/domain/authnid/crl/__init__.py
Co-Authored-By: montana-mil <42577527+montana-mil@users.noreply.github.com>
2019-03-15 14:22:13 -04:00
leigh-mil
f24710f263 Merge pull request #705 from dod-ccpo/so-redirect
Have officer invite url point to the TO view page
2019-03-15 10:36:57 -04:00
leigh-mil
458a99ea4b Merge pull request #702 from dod-ccpo/form-fix-existing-portfolio
Persist data in new TO for existing Portfolio
2019-03-15 09:51:04 -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
79cb7ac2eb use first_or_none utility for finding portfolio role 2019-03-15 07:14:49 -04:00
dandds
ad56ddc60e implement PermissionSets.get_many for getting multiple permission sets by name 2019-03-15 07:14:49 -04:00
dandds
ee37a5543a organize portfolio permission sets by domain 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
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
720c227c32 remove frontend role selection for edit member 2019-03-15 07:14:49 -04:00
dandds
0eb2d4fa3c remove frontend role selection for new member 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
44a4d98978 switch portfolio authorization to rely on new permission sets 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
8af3986a2d set portfolio member permission sets 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
4bf70f10d8 Use list of officer to determine if the current_user is an officer
Delete unused method
2019-03-14 20:09:42 -04:00
leigh-mil
e3956180b4 Add property to TO that returns a list of the officers 2019-03-14 20:08:57 -04:00
leigh-mil
9a97b75d71 Use NoAccessError instead of NotFoundError where a resource exists but the user cannot access it because of the state of the resource 2019-03-14 14:05:33 -04:00
Montana
effec85cf9 Raise Error Code 008 for invalid CRLs 2019-03-14 13:42:12 -04:00
Montana
d6906c8504 Add config for CRL_FAIL_OPEN 2019-03-14 13:42:12 -04:00
Montana
30cd77ff98 Test AuthenticationContext 2019-03-14 13:42:12 -04:00
Montana
720859efb6 Ugly implementation for CRLInvalidException 2019-03-14 13:42:12 -04:00
leigh-mil
3182f3438e Have officer invite url point to the TO view page 2019-03-14 13:11:34 -04:00
leigh-mil
5f30b347c7 Merge pull request #697 from dod-ccpo/persist-invite-officers
Persist Officer invite checkbox on a TO
2019-03-13 17:00:12 -04:00
leigh-mil
38a1dd1b6d Move initializing the form to inside the if statement so it doesn't get overwritten 2019-03-13 16:41:42 -04:00
George Drummond
4b9e27daf7 Merge pull request #694 from dod-ccpo/resend-invitation-html
Resend Officer Invites from Manage Invitations Page
2019-03-13 16:30:03 -04:00
George Drummond
faa212a044 Just revoke invite since service object handles creating new invite and sending it 2019-03-13 13:41:13 -04:00
George Drummond
c3cb46873e Use ConfirmationPopover rather than custom form 2019-03-13 11:40:01 -04:00
leigh-mil
4c282354bd Merge pull request #696 from dod-ccpo/form-page-complete-indicator
Fix TO Form progress bar
2019-03-13 09:58:05 -04:00
George Drummond
8ca0e04402 Take out Authorization.check_is_ko check 2019-03-13 09:54:43 -04:00
leigh-mil
e09162fd56 Fix rebase issue 2019-03-12 17:50:45 -04:00
George Drummond
d41622b842 Don't need dict.keys 2019-03-12 16:10:55 -04:00