This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,7 @@ def self.name | |
|
||
class Authentication < Base; end | ||
|
||
class Authorozation < Base; end | ||
|
||
class Other < Base; end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
class Curated::ActionPolicy < Curated::RubyGem | ||
package 'action_policy' | ||
homepage 'https://github.com/palkan/action_policy' | ||
category Category::Authorozation | ||
|
||
pros '[Pre-checks](https://actionpolicy.evilmartians.io/#/pre_checks) allow to avoid a lot of boilerplate code.' | ||
pros '[Caching](https://actionpolicy.evilmartians.io/#/caching) allows to avoid unnecessary database queries.' | ||
pros 'Can be included into any class, not only controllers.' | ||
|
||
comment 'ActionPolicy is offen called "Pundit on steroids". If you already use Pundit, you can easily [migrate to ActionPolicy](https://actionpolicy.evilmartians.io/#/./pundit_migration).' | ||
end |