In RoleOptionsProvider:49 the ROLE_USER-role is proposed as default role to be available for all group objects.
This method tho is never called and therefore there are no available roles to associate with groups (unless you configure some explicitly).
With no roles configured
security:
role_hierarchy:
# Pimcore admin // DO NOT CHANGE!
ROLE_PIMCORE_ADMIN: [ROLE_PIMCORE_USER]
Result:
With a user-defined role
security:
role_hierarchy:
# Pimcore admin // DO NOT CHANGE!
ROLE_PIMCORE_ADMIN: [ROLE_PIMCORE_USER]
SOME_SPECIAL_ROLE: [ROLE_USER]
I guess we should switch from MultiSelectOptionsProviderInterface to SelectOptionsProviderInterface since it was deprecated and there the getDefaultValue method is defined by the interface.
In RoleOptionsProvider:49 the
ROLE_USER
-role is proposed as default role to be available for all group objects. This method tho is never called and therefore there are no available roles to associate with groups (unless you configure some explicitly).With no roles configured
Result:
With a user-defined role
Result: