Implementing Authorization in Rails


Not CompletedSection Introduction

This section will explain how to properly incorporate authorization into a Rails application to ensure that each feature is protected with the correct permission structure.

Not CompletedIntroduction to Authorization and How to Install the Petergate Gem

Authorization is an important component of most web applications. In this guide we're going to walk through what authorization is, and then how we can install a RubyGem called Petergate, that will enable us to easily integrate authorization into our codebase.

Not CompletedHow to Add Roles to the User Model in Rails 5

In this guide we'll walk through the next set of installation instructions and update the User model so that users can have a specific role. This is how the authorization engine will know what permissions a user has on the website.

Not CompletedGuide to Implementing Petergate in a Rails 5 Application

In this guide we'll walk through a step by step guide for implementing authorization into our application by fully integrating the Petergate gem. We'll also analyze what steps to take in order to get Petergate and Devise to work with the null object pattern for non logged in users.

Quizzes


Authorization In Rails
    Unsupported Browser

    devCamp does not support ancient browsers.
    Install a modern version for best experience.