Offline access rules

0
Hi all, in my offline app I've encountered a synchronization issue of data not being uploaded from iPad to server, but rather rolled back entirely. Browsing the logs showed ERROR - Connector: An error has occurred while handling the request. [User 'frank.fieldworker' with session id 'e97eb052-5fee-4f0a-8730-08d9f3c9fef5' and roles 'FieldWorker'] ERROR - Connector: com.mendix.webui.WebUIException: Applying change for 'Latitude' of 'Geography.Location' with id '43628621390157681' failed for security reasons. No change hash found for read only member 'Latitude'. at com.mendix.webui.requesthandling.HashUtil$.verifyHash(HashUtil.scala:63) The Location is created on the tablet and Latitude (& Longitude) are automatically filled by a geolocation-widget.  In my domain model, the FieldWorker only has Read-rights to the coordinate attributes. I have set the access rules to Create New objects&full write, and now the error is gone. Should access  rules be validated on an offline device? Or is this 1 of the restrictions of offline? I can't find anything on this on https://docs.mendix.com/refguide/offline
asked
1 answers
1

I could find it on https://docs.mendix.com/refguide/nanoflows

9 Security

Nanoflows are executed in the context of the current user. Any operation for which the user is unauthorized will fail. For instance, when objects are retrieved in a nanoflow, only the ones for which the current user has read access will be returned. Committing an object only succeeds when the current user has write access for all changes.

answered