Symptom
You are able to create documents (e.g. Accounts, Sales Quotes, Tickets) in the mobile offline mode, even though the user permissions is set to prevent the creation of such documents.
Environment
SAP Cloud For Customer
Reproducing the Issue
- Log in with the user in the mobile app.
- Synchronize data to the device.
- Go to offline mode.
- Click on Create button.
- Create any document that user wouldn't have permission to.
- Save is permitted in offline.
Cause
The validation of user permissions is done only at synchronization of data from offline to online.
Resolution
The validation of user permissions is done only at synchronization of data from offline to online, hence the user will be able to create the documents freely while at offline mode, but they will never be able to synchronize them to online mode.
If the user attempt to synchronize data to online which they don't have permission, message "You are not authorized to perform this action" will be triggered in Upload Sync Log and data won't be sent to online.
Keywords
Document, Permissions, Offline, Mobile, App, Windows, iPhone, Android, iOS , KBA , AP-RC-MOB-OFL-SYN , Offline Data Synchronization , How To