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

Admin log-in using devise #7

Closed
veelenga opened this issue Oct 21, 2016 · 0 comments · Fixed by #18
Closed

Admin log-in using devise #7

veelenga opened this issue Oct 21, 2016 · 0 comments · Fixed by #18
Labels

Comments

@veelenga
Copy link
Owner

veelenga commented Oct 21, 2016

Create sign-in page, login/logout actions:

https://github.com/plataformatec/devise

For now, only admin should be able to login, create/update/delete(CUD) resources and see CUD buttons/links. But probably in future we will let other users to be able to login, so we can start creating role model.

Also we have to deny access on controller side, so the user will not bypass. Each of those might help:

https://github.com/CanCanCommunity/cancancan
https://github.com/elabs/pundit
https://github.com/nathanl/authority

This was referenced Nov 3, 2016
This was referenced Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant