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

Handle disabling of users #175

Closed
1 task done
pauljohanneskraft opened this issue Jan 21, 2025 · 1 comment · Fixed by #177
Closed
1 task done

Handle disabling of users #175

pauljohanneskraft opened this issue Jan 21, 2025 · 1 comment · Fixed by #177
Assignees
Labels
ENGAGE HF ENGAGE-HF-specific issues enhancement New feature or request

Comments

@pauljohanneskraft
Copy link
Contributor

Problem

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
@pauljohanneskraft pauljohanneskraft added enhancement New feature or request ENGAGE HF ENGAGE-HF-specific issues labels Jan 21, 2025
@PSchmiedmayer
Copy link
Member

We should replicate the setup in StanfordBDHG/ENGAGE-HF-iOS#133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENGAGE HF ENGAGE-HF-specific issues enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants