Commit 879c7f40 authored by Jérome Perrin's avatar Jérome Perrin

core: support Manager user in Base_getDialogSectionCategoryItemList

Base_getDialogSectionCategoryItemList was supporting the case of
users from zodb_users plugin, but not the case of ERP5 users with
roles set from zodb_roles.

It's a more and more common case to make manager users using a
"normal" ERP5 user as person (so that we can reset password etc)
and to give Manager role by zodb_roles, but this was not supported
by this script.
parent e6f788f7
Pipeline #11941 failed with stage
in 0 seconds