Shared text files wich write protected / readony are editable and results in endless login loop
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Expected behaviour
When user access text files which shared without edit/change right it should be not possible to change them.
Actual behaviour
The user is able to open the text file and make changes in it. Unfortunately the client is broken after this due the fact it allways shows the login form again.
The only way exit the loop is to reset the client.
Steps to reproduce
- Connect to nectcloud
- Edit a readonly textfile
- Save the textfile
- you willl be redirected to an login dialog
- choose cancel
- the dialog will be shown again
- choose cacnel
- be fast or choose chancel again
- go to settings and reset the client
Tried other things, which not solved the problem:
- cancel the upload
- reset the cache
iOS version
13.2.2
App version
Nextcloud for ISO 2.24.1.0
Server configuration
Operating system:
Ubuntu
Web server:
Apache2
Database:
MySQL
PHP version:
7.2.19
Nextcloud version: (see Nextcloud admin page)
16.0.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce this on the listed iOS and app versions by editing and saving a shared read-only text file. Trace the edit/save flow and repeated login-dialog behavior; done means read-only files cannot be changed and saving does not create a login loop.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100