Giter VIP home page Giter VIP logo

Comments (5)

bleistivt avatar bleistivt commented on September 18, 2024

I feel like this would be more appropriate as a setting for reaction types (e.g. "this type of reaction is always anonymous") since reaction types can already be contolled using roles.

But I am interested in your use case, maybe I don't understand it fully.

from yaga.

garygreen avatar garygreen commented on September 18, 2024

Our use case is for our user's to be able to toggle a setting on/off in our app which allows them to react anonymously. The only way I can see this working is by assigning them with a role "Anonymous Reactions" with the permission Yaga.Reactions.Anonymous enabled.

At it's most basic level, adding it at the reaction level may work but compromises would need to be made. For example, it would mean having to duplicate all the reactions for the purpose for some being anonymous. Also if at any stage they want to become public again all existing reactions would still remain anonymous.

Main motivation behind this is our forum can get quite heated and people are privacy aware - so some may not like the idea of reacting to posts and letting the other person know exactly who reacted. If they could opt-in to anonymous reactions they would feel a lot more comfortable reacting freely without feeling persecuted.

from yaga.

bleistivt avatar bleistivt commented on September 18, 2024

Since regular users can't toggle their roles/permissions, that would be more like a profile preference, right?

from yaga.

garygreen avatar garygreen commented on September 18, 2024

It's just the overall ability to do it within YAGA that we would like. There doesn't need to be a UI for users to toggle it.

We use the Vanilla API in our app to toggle roles for users. So we personally would expose this in a settings area on our main site, outside of Vanilla forum.

from yaga.

garygreen avatar garygreen commented on September 18, 2024

I guess profile preference makes more sense rather than a permission.

from yaga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.