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

Prompt modal opens for disabled users who can't follow anything #1

Open
clarkwinkelmann opened this issue Apr 5, 2022 · 0 comments

Comments

@clarkwinkelmann
Copy link
Owner

The modal will open for disabled or suspended users, as well as users who must accept new terms in FoF Terms.

But if those users try to change their follow preference for any tag, they will get a permission error.

The permissions are controlled by the FoF Follow Tags extension, so there's nothing we can change on that front.

However we could either not open the modal when this situation arises, or we could open the modal but tell the user there are no tags they can subscribe to at the moment.

I'm not sure the required permission values are exposed to the frontend. I'm also not sure whether it's always all of the tags that can be unfollowable, or only some of them. If it's the later, it could make sense to hide/disable only tags that currently can't be followed in the modal instead of hiding everything.

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