Commit Graph

2005 Commits

Author SHA1 Message Date
leigh-mil
d152034e1b Add in check to make sure that user has portfolio and app perms 2019-03-25 15:54:10 -04:00
dandds
21af2b8ce9 separate control structures for task_order_id and portfolio_id in decorator 2019-03-22 14:47:42 -04:00
dandds
601ca1c655 fix access logs and add request method 2019-03-22 11:48:59 -04:00
dandds
746a5834c1 only pass one func to exception kwarg in access decorator 2019-03-22 06:33:01 -04:00
dandds
905f03342d remove permission from access decorator exception args 2019-03-22 06:33:01 -04:00
dandds
e07640db57 add messages to all route access decorators 2019-03-22 06:33:01 -04:00
dandds
078264bec7 add access tests for all access-protected routes
- cleans up skipped access tests in domain tests
- cleans up other skipped tests that are no longer relevant
2019-03-22 06:33:01 -04:00
dandds
9fb6299680 update portfolio context processor 2019-03-22 06:31:20 -04:00
dandds
dff72422f0 log access attempts in access decorator 2019-03-22 06:31:20 -04:00
dandds
4a0dd2d432 remove unused domain methods and arguments 2019-03-22 06:31:20 -04:00
dandds
de7c69bde7 apply access decorator to routes 2019-03-22 06:30:21 -04:00
dandds
0ea21fbb9b remove access checks from domain methods 2019-03-22 06:30: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-mil
7ab5e0ba58 Merge pull request #716 from dod-ccpo/portfolio-admin-users-table
Portfolio admin users table
2019-03-21 10:24:26 -04:00
Montana
762c111751 Move template logic to route function 2019-03-21 09:40:38 -04:00
dandds
c4b4cc0912 update atat-wide permission sets 2019-03-21 05:38:28 -04:00
dandds
7c5e931c67 throw error for missing permission_sets in PermissionSets.get_many 2019-03-21 05:38:28 -04:00
dandds
366ada5a90 check sitewide perms for portfolio access, restore ccpo tests 2019-03-21 05:38:28 -04:00
dandds
bec5d11bfe users have permission sets for site-wide perms 2019-03-21 05:38:28 -04:00
Montana
f1060db200 Add (you) 2019-03-20 15:30:19 -04:00
George Drummond
5572452cc0 Test for invalid signature 2019-03-20 15:24:48 -04:00
George Drummond
37ab26862a Memoize parsed openssl cert 2019-03-20 13:11:13 -04:00
George Drummond
eafb000d58 Just return a boolean response rather than a string 2019-03-20 13:11:13 -04:00
George Drummond
1024ee0cf2 Test is handed in CRL checker 2019-03-20 13:11:13 -04:00
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