5054 Commits

Author SHA1 Message Date
George Drummond
47ce80b4db
Merge pull request #726 from dod-ccpo/fix-py36-warning
Fix py36=true deprecation warning
2019-03-28 13:31:00 -04:00
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
77ed7d9ab6 prevent premature modal form submission with enter click 2019-03-27 14:07:06 -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
21a1cc4c1f various small fixes 2019-03-26 17:08:45 -04:00
dandds
d158f1ea7e rearrange admin template forms so that forms are not nested 2019-03-26 16:19:30 -04:00
dandds
c7ac967870 present flash message when new portfolio member is added 2019-03-26 15:49:06 -04:00
dandds
836fdbdcd2 reset modal state on close for new portfolio member modal 2019-03-26 15:48:31 -04:00
dandds
ca0c280ac5 fix mistake from rebase 2019-03-26 15:48:31 -04:00
dandds
878a31ba19 style and template updates for adding a new portfolio user 2019-03-26 15:48:31 -04:00
dandds
ccaad6cbbc cannot go to next new portfolio member page if form invalid 2019-03-26 15:46:48 -04:00
dandds
4987d24bef do not advance multi step modal form unless valid 2019-03-26 15:46:48 -04:00
dandds
e6fd32f612 phone number should be optional on add new portfolio member form 2019-03-26 15:46:48 -04:00
dandds
ec794abbf2 more styling for new portfolio member modal 2019-03-26 15:46:48 -04:00
dandds
0d3387b0fe styles for multi-step header in modal form 2019-03-26 15:46:48 -04:00
dandds
1bc434be8c multi-step form modal with basic implementation for adding new member 2019-03-26 15:46:48 -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