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",