All Projects → tektite-software → authoreyes

tektite-software / authoreyes

Licence: MIT, MIT licenses found Licenses found MIT LICENSE.txt MIT MIT-LICENSE
A modern authorization plugin for Rails.

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to authoreyes

token-cli
Command line utility for interacting with OAuth2 infrastructure to generate tokens
Stars: ✭ 19 (+46.15%)
Mutual labels:  authorization
dynamic-data-and-capabilities
[ARCHIVED] Dynamic Data and Capabilities in IPFS Working Group
Stars: ✭ 57 (+338.46%)
Mutual labels:  authorization
opa-kafka-plugin
Open Policy Agent (OPA) plug-in for Kafka authorization
Stars: ✭ 46 (+253.85%)
Mutual labels:  authorization
graphql authorize
Authorization helpers for ruby-graphql fields
Stars: ✭ 23 (+76.92%)
Mutual labels:  authorization
blogging-app-with-Angular-CloudFirestore
A blogging application created with the help of Angular on front-end and Google Cloud Firestore on backend.
Stars: ✭ 45 (+246.15%)
Mutual labels:  authorization
ficam-playbooks
The Federal Identity Credentials and Access Management program publishes guides and playbooks to help U.S. federal executive agencies implement, maintain, and modernize identity management systems.
Stars: ✭ 30 (+130.77%)
Mutual labels:  authorization
ms-identity-javascript-tutorial
A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in Vanilla JavaScript.
Stars: ✭ 100 (+669.23%)
Mutual labels:  authorization
Gatekeeper
Lightweight library in C# for implementing roles-based access control (RBAC). With Gatekeeper, you can define users, roles, resources, and permissions, and authorize requests.
Stars: ✭ 25 (+92.31%)
Mutual labels:  authorization
Sphinx
Authorization library for Phoenix web framework
Stars: ✭ 19 (+46.15%)
Mutual labels:  authorization
fedramp-automation
FedRAMP Automation
Stars: ✭ 175 (+1246.15%)
Mutual labels:  authorization
bunjil
A GraphQL bastion server with schema merging, authentication and authorization with Policy Based Access Control
Stars: ✭ 25 (+92.31%)
Mutual labels:  authorization
casbin-knex-adapter
Knex adapter for Casbin
Stars: ✭ 16 (+23.08%)
Mutual labels:  authorization
ts-ucan
Auth tokens for a distributed, user-controlled world
Stars: ✭ 66 (+407.69%)
Mutual labels:  authorization
express-authz
express-authz is an authorization middleware for Express.js based on Casbin
Stars: ✭ 60 (+361.54%)
Mutual labels:  authorization
rust-spa-auth
Example application using a Vue frontend with Rust backend that has authentication + authorization.
Stars: ✭ 45 (+246.15%)
Mutual labels:  authorization
spicedb
Open Source, Google Zanzibar-inspired fine-grained permissions database
Stars: ✭ 3,358 (+25730.77%)
Mutual labels:  authorization
tp5-rbac
一个tp5的RBAC库,使用composer来安装和更新你的项目对于RBAC的需求。同时支持jwt方式的验证。包含了RBAC需要的数据表的数据迁移,能够很方便的开始开发。
Stars: ✭ 69 (+430.77%)
Mutual labels:  authorization
laravel-roles-abilities-tutorial
Tutorial demonstrating the implementation of roles and abilities in Laravel
Stars: ✭ 16 (+23.08%)
Mutual labels:  authorization
folder-auth-plugin
Authorization Plugin for Jenkins that works on folders
Stars: ✭ 21 (+61.54%)
Mutual labels:  authorization
react-native-auth-example
🔑 React Native APP 身份验证模块示例
Stars: ✭ 53 (+307.69%)
Mutual labels:  authorization

Authoreyes

Gem Version Build Status Dependency Status Code Climate Test Coverage Inline docs

Authoreyes (pronounced "authorize") is intended to be a modern, Rails 5 compatible replacement for Declarative Authorization.

Installation

Add this line to your application's Gemfile:

gem 'authoreyes'

And then execute:

$ bundle

Or install it yourself as:

$ gem install authoreyes

Usage

For Rails authorization in Rails versions 4 and below, please use Declarative Authorization or one of its forks.

Warning! This gem is not finished!

At this point, to use Authoreyes, you must do the following:

  1. Add an authorization_rules.rb file. See the included one for an example. The syntax is the same as Declarative Authorization, so you can look at their examples too.
  2. Define privileges for every single action you want to be accessed. As of now, Authoreyes has only one mode: authorize everything.
  3. Done! Authoreyes will do its job.

If you want to customize authorization behavior, in your ApplicationController override Authoreyes's redirect_if_unauthorized before_action and set_unauthorized_status_code after_action. See lib/authoreyes/helpers/in_controller for details.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tektite-software/authoreyes.

Please check out the wiki for guides on contributing to this project.

Acknowledgements

This gem was originally based on stffn's gem Declarative_Authorization. Many thanks to stffn and all who contributed to Declarative Authorization for a great gem!

License

The gem is available as open source under the terms of the MIT License.

©️ 2016 Tektite Software

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].