Role definition is moved from `_initialData` scripts to `01_roles.yml`
In case udisk
model is added in the ubConfig.json
after initialization step (ubcli initialize
is skipped), the roles defined in 005_create_standart_roles_and_els.js
will be missed. Thus navigations items which depend on the missed roles will raise an exeption on data migration. It is necessary to define all mandatory roles before the migration of navigation items (in the 01_roles.yml
file).