weather-gov / weather.gov

weather.gov 2.0
Other
315 stars 5 forks source link

I want the CMS to know my primary WFO #1195

Closed kmranjo closed 1 week ago

kmranjo commented 2 weeks ago

Background

Each WFO-based user of the CMS is going to have permissions at some level for multiple WFOs to provide emergency backup to their neighboring offices if/when needed. However, those instances will be rare, and their day to day operations will simply involve updates to their primary WFO.

Current state

Using the taxonomy structure of Region > WFO and the Workbench Access module we have the ability to:

Future state

Whether through changes to the existing taxonomy or through other means, we want the ability for the system to understand that each user may have access for multiple WFOs, but most will have one primary WFO. Making this distinction will allow us to organize and display content based on a user's primary WFO (work captured in another ticket).

One idea discussed would be to update user profiles to allow system admins to assign a primary WFO to each one.

colinmurphy01 commented 2 weeks ago

Not possible with workbench, if this needs to be done at a more fundamental this might challenge our current access control tooling.

We might be able to explore additional ways to fix, but will take work.

loganmcdonald-noaa commented 2 weeks ago

I think what we can do is define this as part of the user profile as a setting users can set. We can then use this setting to add a filter for what the user can see in their content dashboard.