Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login loop issue - possible solution (serious serious bug) #968

Open
wdev86 opened this issue Oct 20, 2019 · 1 comment
Open

Login loop issue - possible solution (serious serious bug) #968

wdev86 opened this issue Oct 20, 2019 · 1 comment

Comments

@wdev86
Copy link

wdev86 commented Oct 20, 2019

A lot of people seem to be having login loop issues on the latest version of the iOS client.

I think I found out the issue:
If any permission is not "allowed", the iOS client will login loop.

Scenario #1:
I have the external storage mount "/media/mount1" and share the folder "/media/mount1/test" with "usr1" and give them "can create" permission only.
If "usr1" logins using the iOS client and then deletes the "test" folder (they shouldn't even see the delete option in the first place)....the iOS client will immediately go into a login loop.

Scenario #2:
I have the external storage mount "/media/mount1" and share the folder "/media/mount1/test" with "usr1" and give them no permissions (no "can create", "can edit", "can change", "can delete" and thus they should only be able to view the folder).
If "usr1" logins with iOS client, they can see the contents of the "test" folder. If they try to upload files to "test" folder (they shouldn't even see the upload button because there is no permission).....the iOS client will immediately go into a login loop.

Once the iOS client goes into login loop, the only way to get out of it is to uninstall the app and reinstall. There is no way to close the login prompt, if you close it, it will popup immediately again.

It seems the iOS client is not retrieving the "proper" permissions of a file/folder and then tries to execute a action that is not allowed and when it fails it goes into login loop.

@wdev86
Copy link
Author

wdev86 commented Oct 20, 2019

Scenario #1 actually should be this:
I have the external storage mount "/media/mount1" and share the folder "/media/mount1/test" with "usr1" and give them "can create" permission only.
If "usr1" logins using the iOS client and then creates folder "test2" in "test" share folder and then they delete "test2" (they shouldn't even see the delete option in the first place because there is no "can delete" permission on /media/mount1/test share)....the iOS client will immediately go into a login loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant