- Sistemato i Referenti (e non Editori), quando crei un nuovo Catalogo ti imposta la proprietà a te, ma chiunque Collaboratore potrebbe cmq modificartelo.
This commit is contained in:
@@ -564,6 +564,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === 'friends') return userStore.my.profile.friends;
|
||||
else if (table === 'lista_editori') {
|
||||
ris = userStore.listaEditori;
|
||||
} else if (table === 'lista_referenti') {
|
||||
ris = userStore.listaReferenti;
|
||||
} else if (table === 'friendsandme')
|
||||
return [{ username: userStore.my.username }, ...userStore.my.profile.friends];
|
||||
// else if (table === 'mygroups')
|
||||
@@ -1251,6 +1253,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
this.clearDataAfterLoginOnlyIfActiveConnection();
|
||||
|
||||
await userStore.loadListaEditori();
|
||||
await userStore.loadListaReferenti();
|
||||
|
||||
await globalroutines('readall', 'config', null);
|
||||
|
||||
@@ -2510,6 +2513,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
shared_consts.Permissions.Teacher,
|
||||
shared_consts.Permissions.Facilitatore,
|
||||
shared_consts.Permissions.Editor,
|
||||
shared_consts.Permissions.Commerciale,
|
||||
shared_consts.Permissions.Zoomeri,
|
||||
shared_consts.Permissions.Department,
|
||||
shared_consts.Permissions.Grafico,
|
||||
|
||||
Reference in New Issue
Block a user