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

Add authorization #19

Merged
merged 2 commits into from
Nov 16, 2020
Merged

Add authorization #19

merged 2 commits into from
Nov 16, 2020

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Nov 16, 2020

Authorized users can now access unpublished pages as well.

Using CanCanCan and Alchemy build in abilities to load pages for current logged in user.

Note: You need to provide a current_user method either by using alchemy-devise or building your own.

We want to add authorization to this gem
@tvdeyen tvdeyen requested a review from mamhoff November 16, 2020 16:19
Authorized users can now access unpublished pages as well.
@tvdeyen tvdeyen merged commit 84392e8 into main Nov 16, 2020
@tvdeyen tvdeyen deleted the add-authorization branch November 16, 2020 16:53
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

Successfully merging this pull request may close these issues.

2 participants