- Issue created by @denes.szabo
- Issue was unassigned.
- Status changed to Needs review
12 months ago 3:30pm 2 December 2023
My problem is: this module stores another third party weight which we need to setup for all roles. It seems to me unnecessary since we can setup the roles weight on the Roles admin ui, the roles config entities already have weight properties.
Clean up the code to use the role's weight for determine the user views mode.
Patch attached.
The Roles admin ui changed a little bit I added the User View mode column.
The roles order now uses the role's weight - so the "stronger" role for determine the user view mode is the lighter role.
A code todo mentioned this module should working this way, not by the heaviest (// @todo Fix weight to be lowest.)
The user_view_mode third party settings changed the weight settings not used anymore.
Needs review
1.0
Code