From cb232cf271b3615ba598140d959eeee8ee9dfd51 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Wed, 29 Mar 2023 18:47:45 +0200 Subject: [PATCH] Updated room permissions --- lib/backend/permissions.dart | 4 ++-- lib/l10n/app_en.arb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/backend/permissions.dart b/lib/backend/permissions.dart index 2509a71..b82009d 100644 --- a/lib/backend/permissions.dart +++ b/lib/backend/permissions.dart @@ -70,7 +70,7 @@ class RoomPermission { return oB("0000010"); } - static int get listGroupsItems { + static int get listCategoriesAndProducts { return oB("0000100"); } @@ -94,7 +94,7 @@ class RoomPermission { return [ addArticles, removeArticles, - listGroupsItems, + listCategoriesAndProducts, changeMeta, ota, changeAdmin, diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 48fca22..0ba55cc 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -182,8 +182,8 @@ "roomPermissionAddArticlesSubtitle": "Allows users to add items to the shopping list", "roomPermissionRemoveArticles": "Remove Articles", "roomPermissionRemoveArticlesSubtitle": "Allows users to remove items from the shopping list", - "roomPermissionList": "List Groups and Items", - "roomPermissionListSubtitle": "Allows the user to view groups and products", + "roomPermissionList": "List Products and Categories", + "roomPermissionListSubtitle": "Allows the user to view products and categories", "roomPermissionChangeMeta": "Change Room Metadata", "roomPermissionChangeMetaSubtitle": "Allows the user to edit the room name, description and icon", "roomPermissionManageOTA": "Manage OTAs",