-
-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
Describe the bug
- Have two accounts
- Create a note share from first account to second account with View only permission
- From second account, try to modify the shared note
Expected behavior
Second account should not be able to modify the note if the permission is view only.
Notes Android version
4.5.2 RC1
Notes server version
32
Nextcloud Android version
3.34.1 RC1
Nextcloud version
32
Device
Emulator
Android Version
16
App Store
- Google Play Store
- F-Droid
- Huawei App Gallery
Stacktrace
java.lang.Exception: {"errorType":"OCA\\Notes\\Service\\NoteNotWritableException"}
[com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:440), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:113), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:96), com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:108), android.os.Binder.execTransactInternal(Binder.java:1473), android.os.Binder.execTransact(Binder.java:1418)]
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:150)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
at java.lang.Thread.run(Thread.java:1563)