You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can now disable users that are, e.g., no longer part of the study by setting their disabled property in Firestore to true. Whenever that property is set (and the token has been refreshed, technically), the user won't be able to do anything anymore, except reading its own user information.
Solution
We should update our snapshot listener to check for that disabled property and if that is set to true, we replace the UI by a simple message with a message such as "You are no longer part of this study" - please have a look at the iOS app on how that is supposed to look.
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
Problem
We can now disable users that are, e.g., no longer part of the study by setting their
disabled
property in Firestore totrue
. Whenever that property is set (and the token has been refreshed, technically), the user won't be able to do anything anymore, except reading its own user information.Solution
We should update our snapshot listener to check for that
disabled
property and if that is set totrue
, we replace the UI by a simple message with a message such as "You are no longer part of this study" - please have a look at the iOS app on how that is supposed to look.Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: