Skip to content

Commit

Permalink
Added pundit to authorization section
Browse files Browse the repository at this point in the history
dalezak committed Jan 7, 2022
1 parent 90c381f commit 91d38ce
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -208,6 +208,19 @@ Setup authorization so you can protect resources based on user roles.
- [GoRails Tutorial](https://gorails.com/episodes/authorization-with-cancancan)
</details>

_-or-_

<details>
<summary>Setup Pundit</summary>

[Pundit](https://github.com/varvet/pundit) provides a set of helpers which guide you in leveraging regular Ruby classes and object oriented design patterns to build a simple, robust and scalable authorization system.

[This template](https://railsbytes.com/templates/X6ks6o) installs the Pundit gem, and runs the generator.
```console
rails app:template LOCATION='https://railsbytes.com/script/X6ks6o'
```
</details>

## Single Sign On
Allows users the ability to login to your application through other services like Google.

0 comments on commit 91d38ce

Please sign in to comment.