This commit is contained in:
2020-06-15 21:45:46 +00:00
parent f80e52075f
commit 76e6993367
3 changed files with 14 additions and 5 deletions

View File

@@ -59,11 +59,20 @@ export default {
Widget: { Change: 34, ReadFullRecord: 17, Select: 131071 },
ServerState: { Change: 16384, ReadFullRecord: 131071, Select: 0 },
License: { Change: 16386, ReadFullRecord: 8193, Select: 0 },
TrialSeeder: { Change: 16386, ReadFullRecord: 8193, Select: 0 },
LogFile: { Change: 0, ReadFullRecord: 24576, Select: 0 },
Backup: { Change: 16384, ReadFullRecord: 8195, Select: 0 },
ServerJob: { Change: 16384, ReadFullRecord: 8195, Select: 0 },
Metrics: { Change: 0, ReadFullRecord: 24576, Select: 0 },
ServerMetrics: { Change: 16384, ReadFullRecord: 24576, Select: 0 },
Translation: { Change: 16386, ReadFullRecord: 131071, Select: 0 },
DataListView: { Change: 2, ReadFullRecord: 131071, Select: 0 },
FormCustom: { Change: 2, ReadFullRecord: 131071, Select: 0 },
PickListTemplate: { Change: 2, ReadFullRecord: 131071, Select: 0 }
PickListTemplate: { Change: 2, ReadFullRecord: 131071, Select: 0 },
BizMetrics: { Change: 2, ReadFullRecord: 98369, Select: 0 },
Notification: { Change: 131071, ReadFullRecord: 131071, Select: 0 },
NotificationSubscription: {
Change: 131071,
ReadFullRecord: 131071,
Select: 0
}
};

View File

@@ -203,7 +203,7 @@ export default {
let vm = this;
initForm(vm)
.then(() => {
vm.rights = window.$gz.role.getRights(window.$gz.type.TrialSeeder);
vm.rights = window.$gz.role.getRights(window.$gz.type.License);
generateMenu(vm);
vm.formState.loading = false;
vm.formState.ready = true;

View File

@@ -26,8 +26,8 @@ export default {
initForm(vm)
.then(() => {
//get rights to generate sample data and erase db I guess
vm.rights = window.$gz.role.fullRightsObject();
generateMenu(vm);
vm.rights = window.$gz.role.getRights(window.$gz.type.TrialSeeder);
generateMenu(vm);
vm.formState.ready = true;
window.$gz.eventBus.$on("menu-click", clickHandler);
})