@tillhub/schemas 6.213.0 → 6.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/common/permissions.js +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [6.214.0](https://github.com/tillhub/schemas/compare/v6.213.0...v6.214.0) (2023-05-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **permissions:** wallets ([392ee87](https://github.com/tillhub/schemas/commit/392ee87))
|
|
7
|
+
|
|
1
8
|
# [6.213.0](https://github.com/tillhub/schemas/compare/v6.212.0...v6.213.0) (2023-04-27)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -133,7 +133,15 @@ module.exports.staff = {
|
|
|
133
133
|
'staff:staff:orders:others:locked:modify', // allows modifying other staffs' orders (gastro)
|
|
134
134
|
'staff:staff:orders:preview:print', // allows printing previews for unpaid orders (gastro)
|
|
135
135
|
'staff:staff:cart:clear', // Can clear the current cart
|
|
136
|
-
'staff:staff:cart:clear:row' // Can remove items from the cart
|
|
136
|
+
'staff:staff:cart:clear:row', // Can remove items from the cart
|
|
137
|
+
'staff:staff:wallets', // General access and all rights below
|
|
138
|
+
'staff:staff:wallets:create', // Can create wallets
|
|
139
|
+
'staff:staff:wallets:update', // Can update wallets
|
|
140
|
+
'staff:staff:wallets:read', // Can read wallets
|
|
141
|
+
'staff:staff:wallets:assign', // Assign Waiter Wallets to Waiters
|
|
142
|
+
'staff:staff:wallets:transfer', // Transfer cash between the main till and any Waiter Wallet to create the Starting Balance for a Wallet.
|
|
143
|
+
'staff:staff:wallets:discrepancy', // Accept discrepancies for not matching closing balances for individual Waiter Wallets
|
|
144
|
+
'staff:staff:wallets:activation' // Activate and deactivate Waiter Wallets
|
|
137
145
|
]
|
|
138
146
|
}
|
|
139
147
|
}
|