Scoped out committees for Opportunity create
June 29th, 2020
Currently the opportunity can be created for any Local committee irrespective of the user's role.However this opportunity will not show up for the user if they dont manage that committee. To tackle this issue we have scoped out the committees that the user manages and listed out in current_person response. This can be shown in the Host LC dropdown in opportunity create. 

current_person_type -> creatable_offices_for_opportunities

creatable_offices_for_opportunities field accepts argument for search. 

Note:  creatable_offices_for_opportunities is exposed as connection and if the total_count is 1 prefill that option directly in Host LC dropdown.
Crafted by