Commit Graph

2281 Commits

Author SHA1 Message Date
leigh-mil
bdb1cc9ce5 Add in users without access to env team info 2019-04-29 12:07:44 -04:00
Montana
fec4687c02 Check for member in application function, not user function 2019-04-29 11:06:37 -04:00
Montana
6822680bc8 Ensure that a member is an application member before adding the user to an environment 2019-04-29 11:06:37 -04:00
Montana
3e0a332ffc Default permission_sets to VIEW_APPLICATION on creating an application role 2019-04-29 11:06:37 -04:00
Montana
c9deaeec72 Add is_app_member() to user model 2019-04-29 11:06:37 -04:00
George Drummond
079672c818 Update application environments 2019-04-29 10:46:21 -04:00
leigh-mil
3c81150909 Nested form inherits from FlaskForm to avoid redundancy 2019-04-25 10:47:39 -04:00
leigh-mil
72cc12f195 Update todo formatting 2019-04-25 10:47:39 -04:00
leigh-mil
99a3534d03 Update route to include environment_id 2019-04-25 10:47:39 -04:00
leigh-mil
8680c10017 Change file name to settings 2019-04-25 10:47:39 -04:00
leigh-mil
addd1c07c3 Add TODO about handling form validation failures 2019-04-25 10:47:39 -04:00
leigh-mil
c6cf4d7641 change variable name to be more clear 2019-04-25 10:47:39 -04:00
leigh-mil
1f7b5469de remove unnecessary if statement 2019-04-25 10:47:39 -04:00
leigh-mil
e7903ed000 Move remove_empty_string filter to BaseForm and use the filter to coerce the role to be None 2019-04-25 10:47:39 -04:00
leigh-mil
5e415edaef Update form to handle No access 2019-04-25 10:47:39 -04:00
leigh-mil
9b426bbde4 Add post route for env roles form 2019-04-25 10:47:39 -04:00
leigh-mil
c085f27af8 Update env roles by environment 2019-04-25 10:47:39 -04:00
leigh-mil
f6577c0cd6 Update name of env form 2019-04-25 10:47:39 -04:00
leigh-mil
fbd9c9db66 Create form in view route for application settings 2019-04-25 10:47:39 -04:00
leigh-mil
5de1b859db Create form class for app env settings 2019-04-25 10:47:39 -04:00
Montana
422021e5ce Only show active members for ppoc update dropdown 2019-04-22 14:32:50 -04:00
dandds
78ba6afba0 rename and rearrange some portfolio route functions 2019-04-22 07:20:08 -04:00
dandds
782a532c32 reorganize task order routes 2019-04-22 07:20:07 -04:00
dandds
849c5d4b58 Rearrange and rename application routes.
- move application routes to their own Flask blueprint
- squash application routes to be resource-specific
- reorganize application routes
2019-04-22 07:19:30 -04:00
dandds
ed25078c39 move portfolio context processor to generic location 2019-04-22 07:15:18 -04:00
rachel-dtr
a815e97203 Merge pull request #776 from dod-ccpo/to-language
Updating language throughout TO process
2019-04-18 11:46:07 -04:00
rachel-dtr
193d5c2a43 Updating language throughout TO process 2019-04-18 11:31:33 -04:00
dandds
c223bff09c Remove unused portfolio routes 2019-04-18 09:50:53 -04:00
montana-mil
2710cbad31 Merge pull request #772 from dod-ccpo/do-not-include-ppoc-on-dropdown
Only show Non-PPOC Portfolio Members in Update PPOC Dropdown
2019-04-17 16:35:56 -04:00
George Drummond
882998e1d7 Merge pull request #748 from dod-ccpo/display-app-users
Display app users
2019-04-17 15:28:28 -04:00
Montana
9edea53361 Only show non-ppoc portfolio members in update ppoc dropdown 2019-04-17 15:02:32 -04:00
dandds
24764fbe85 Merge pull request #773 from dod-ccpo/view-application-settings
portfolio user can view application settings page
2019-04-17 14:54:11 -04:00
dandds
4a1e5e61b3 portfolio user can view application settings page 2019-04-17 14:49:14 -04:00
leigh-mil
882152f142 Set order of port members in the route 2019-04-17 14:13:24 -04:00
George Drummond
2014926809 Don't need to pass portfolio to the template 2019-04-17 13:56:24 -04:00
George Drummond
e814f8904d Use correct scoping 2019-04-17 13:37:28 -04:00
George Drummond
769867c6a9 Display app users view only table 2019-04-17 13:25:45 -04:00
montana-mil
ec3d4f518f Merge pull request #770 from dod-ccpo/make-email-non-unique
User no longer has Unique Email
2019-04-17 11:59:30 -04:00
Montana
d9c3cf340f Pass users' roles to the template 2019-04-17 11:06:37 -04:00
Montana
89b5bfdef5 User no longer has unique email 2019-04-17 11:06:10 -04:00
dandds
d722f8f375 Merge pull request #766 from dod-ccpo/resource-scope-#164896879
Resource scope #164896879
2019-04-17 11:02:41 -04:00
rachel-dtr
5c8d12c617 Adding to translations file 2019-04-16 15:06:18 -04:00
rachel-dtr
1315e971fc Updating terms and capitalization 2019-04-16 15:06:18 -04:00
dandds
c1df245800 Scope access to applications, task orders, and environment roles.
These resources should be scoped to the portfolio when accessed from
route functions.
2019-04-16 14:18:53 -04:00
dandds
eaeeed0b05 Added BaseDomainClass with a get method.
The BaseDomainClass.get can accept any number of keyword arguments and
will add a filter to the query for each kwarg. This will allow the
caller to scope the query as needed with kwargs.
2019-04-16 14:18:53 -04:00
dandds
5ea70a486a Do not pass portfolio to render_template calls in portfolio context.
The context processor in the init file for the portfolio routes takes
care of this. Also eliminates any unnecessary portfolio lookups in the
route functions.
2019-04-16 14:18:53 -04:00
George Drummond
13a16dc83f Merge pull request #761 from dod-ccpo/environment-lists
Environment lists
2019-04-16 09:44:38 -04:00
George Drummond
9c89a8e7a5 Rename get_environments_obj_for_app method 2019-04-16 09:41:48 -04:00
dandds
e4c50da363 push environment deletion info to CSP 2019-04-15 16:03:32 -04:00
dandds
a2e815afd9 move application deletion alert content into translations file 2019-04-15 16:03:32 -04:00