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

anonymous ratting #13

Open
grekpg opened this issue Apr 2, 2016 · 1 comment
Open

anonymous ratting #13

grekpg opened this issue Apr 2, 2016 · 1 comment

Comments

@grekpg
Copy link

grekpg commented Apr 2, 2016

How i can allow anonymous ratting ?

@damianociarla
Copy link
Owner

At the time this bundle does not provide an anonymous vote, but you can implement it fairly quickly:

  1. You must extend the VoteManager service and make sure that the createVote method accepts a NULL value as the second parameter.
  2. The entity Vote must be able to have a nullable relationship with the voter.
  3. You must sets the base_security_role parameter with the value: IS_AUTHENTICATED_ANONYMOUSLY.
  4. You must sets the unique_vote parameter to false.

I think that's enough. If that does not work I will do an implementation of this feature :-)

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

2 participants