Skip to content

ivliaspiration/rails_authorization_with_devise_invitable_and_cancan

Repository files navigation

Rails authorization with Devise, devise_invitable and CanCan

This is a demo of a role-based blog implemented with Rails, Devise, devise_invitable and CanCan.

The blog is consisted of Article and Comment resources. There are three types of users: User, Author and Admin. Admin can manage all resources and can also invite Authors. Authors can create new Articles and manage those they have written. Signed in User can leave Comments. Guest users can only read blog.

There is only one Admin which is seeded. Authors can only be invited by Admin. Users can register, but their registration must be first confirmed via email.

About

Role-based authorization with Devise, devise_invitable, and cancan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published