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

roles for anonymous users #231

Open
abstratt opened this issue Aug 22, 2017 · 0 comments
Open

roles for anonymous users #231

abstratt opened this issue Aug 22, 2017 · 0 comments

Comments

@abstratt
Copy link
Owner

abstratt commented Aug 22, 2017

Imagine an application that allows users to see things and act on things anonymously. Examples:

  • anonymous commenting, or voting
  • a shopping cart that only requires login at checkout time

A possibility would be have the concept of an anonymous role, a role that is assigned implicitly to a non-identified user.

Some things to consider:

  • when the user signs up, his data would somehow have to be preserved or transferred to the role it signed up for
  • would we ever need to allow more than one anonymous role? What for?
  • would the concept of an implicit role make sense for signed up users as well? Wouldn't a base role class shared by all signed-up roles be enough?
  • do we really need an anonymous role, or just allow one of the application roles to be assigned to anonymous users as well?
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