Roles field should be multiple now.

Issue fork 3327580-3335753

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

plopesc created an issue. See original summary.

plopesc’s picture

Opened an initial MR for this feature.

There are 2 main open points to address related to this:

* Context for DashboardSectionStorage cannot be "role" anymore. Tried to find other situations where context could be multiple in core, but I was unable after a quick search. Not sure if we should explore that route, or just pass the user entity as context.
* We need a logic to determine what's the "default" dashboard in DashboardController. Currently it just renders the 1st one

Please check this proof of concept and let's iterate.

plopesc’s picture

Status: Active » Closed (outdated)

Dashboard assignment will be implemented based on a different approach.

Closing this.

penyaskito’s picture

Thanks for working on this anyway! Really appreciated :-)

plopesc’s picture

Project: Dashboard-sandbox » Dashboard
Version: » 2.x-dev