-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error message hard to understand when sync client is blocked #959
Comments
We actually only change the permissions with a storage wrapper. Our API really has some short comings there: terms_of_service/lib/Filesystem/StorageWrapper.php Lines 27 to 65 in c479265
|
Maybe we can c&p the mechanism from remote wipe? |
Sorry, but |
Remote wipe is returning 401 UNAUTHORIZED when remote wipe is enabled for that token. |
Yeah but we can't/shouldn't do that for ToS, as 401 means throw away your credentials? |
I meant this as a way to check how this is done. |
Yes, but that is what I tried to say earlier, we only change/overwrite a boolean to false: The wrapper system we have does not allow us passing a reason, app name or anything alike 🙈 |
Same is done by access control: |
Hm. Maybe a short call? |
As long as the user didn't accepted the ToS, access to the files is blocked by the sync client.
The user gets a sabredav error from the desktop client, something like "file not available". A normal user will never figure out what's the problem and how to solve it. It would be great if we could show a error which tells the user that they have to go to the web interface and accept the ToS to sync their files again.
Maybe the ToS app could through a exception with this error message which than gets forwarded to the clients?
The text was updated successfully, but these errors were encountered: