@stoker-platform/web-app 0.5.144 → 0.5.145
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 +6 -0
- package/package.json +1 -1
- package/src/Form.tsx +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/Form.tsx
CHANGED
|
@@ -409,7 +409,7 @@ const RecordFormField = (props: FieldProps) => {
|
|
|
409
409
|
if (operation === "update-many") {
|
|
410
410
|
if ("unique" in field && field.unique) return null
|
|
411
411
|
if (customization?.admin && "readOnly" in customization.admin) return null
|
|
412
|
-
if ("restrictUpdate" in field) return null
|
|
412
|
+
if ("restrictUpdate" in field && !restrictUpdateAccess(field, permissions)) return null
|
|
413
413
|
|
|
414
414
|
if (collection.auth && field.name === "Role") return null
|
|
415
415
|
if (connectionStatus === "offline" && collection.auth) return null
|