4490 Commits

Author SHA1 Message Date
George Drummond
66f90605ef
Fix py36=true deprecation warning 2019-03-28 10:28:38 -04:00
dandds
c661bb98bd
Merge pull request #725 from dod-ccpo/access-decorator-touchup
Access decorator touchup
2019-03-28 10:07:21 -04:00
dandds
29ec4a80af give access decorator override function a clearer name; exception -> override 2019-03-28 09:32:51 -04:00
dandds
09d6b5fb09 just use python stdlib mock in access tests 2019-03-28 09:25:11 -04:00
dandds
6c64ad944b
Merge pull request #724 from dod-ccpo/fix-application-tests
fix hard-coded route strings in application tests
2019-03-27 09:41:29 -04:00
dandds
ab5b066bf9 fix hard-coded route strings in application tests 2019-03-27 09:35:34 -04:00
dandds
6b59ab800b
Merge pull request #722 from dod-ccpo/render-edit-buttons-pf-users-table
Render Edit Buttons on Portfolio Members Table
2019-03-26 15:43:39 -04:00
Montana
fd64db8688 add a test 2019-03-26 15:28:43 -04:00
Montana
34d4463665 Change form name in route and template 2019-03-26 14:49:54 -04:00
Montana
957630750a Handle View Only case 2019-03-26 14:41:49 -04:00
Montana
6f25d27fb4 Style save button and add new member link 2019-03-26 14:41:49 -04:00
Montana
5312a11e16 Add new member link 2019-03-26 14:41:49 -04:00
Montana
dd4dc9de86 Render dropdowns for permissions 2019-03-26 14:41:49 -04:00
leigh-mil
cd999f52ac
Merge pull request #721 from dod-ccpo/app-perms-bug
User can only update apps or revoke invites related to their portfolios
2019-03-26 14:24:04 -04:00
leigh-mil
cf1b30d6ca Use url_for 2019-03-26 13:28:44 -04:00
leigh-mil
81635ae979 Add tests to check the TO nested routes 2019-03-26 12:01:44 -04:00
Montana
a6c60fc588 Unstyled Save Button 2019-03-26 11:08:11 -04:00
Montana
72aac68a37 Add Archive User button 2019-03-26 11:08:11 -04:00
leigh-mil
0d30b81ec5 Use if/else to avoid multiple queries 2019-03-26 10:36:23 -04:00
leigh-mil
b5571000fe Update tests - remove references to Workspace, use url_for, and check to make sure time_updated does not change on the application 2019-03-26 10:33:20 -04:00
leigh-mil
5d2b8556ed Check that user has portfolio and invite perms to revoke or resend invites 2019-03-25 16:19:44 -04:00
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
2cb5cf6b9d
Merge pull request #720 from dod-ccpo/access-decorator
Access Decorator
2019-03-25 12:44:45 -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
7d5e615e6a render portfolio admin page panels based on access perms of user 2019-03-22 14:27:53 -04:00
dandds
dc2781ec82 more specificity in decorator exceptions test 2019-03-22 13:05:37 -04:00
dandds
6a18109bdd catch individual errors in authorization decorator test 2019-03-22 12:41:29 -04:00
dandds
601ca1c655 fix access logs and add request method 2019-03-22 11:48:59 -04:00
montana-mil
776bdffa52
Merge pull request #719 from dod-ccpo/fix-icon
Fix positioning of info icon
2019-03-22 11:08:23 -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
828d46bae9 fix tests in CI with CRL config option 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
Montana
5caa2cbbf4 Fix positioning of info icon 2019-03-21 16:18:38 -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
4364b40980 Disconnect applications team page link 2019-03-21 09:47:59 -04:00
Montana
8234037b11 Add tests for has_permission_sets 2019-03-21 09:47:59 -04:00
Montana
762c111751 Move template logic to route function 2019-03-21 09:40:38 -04:00
Montana
f89fb9d416 Green items are not all links 2019-03-21 09:40:38 -04:00
dandds
c4b4cc0912 update atat-wide permission sets 2019-03-21 05:38:28 -04:00
dandds
0f9662e2f2 restore audit log access test 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