{"id":14955949,"url":"https://github.com/tektite-software/authoreyes","last_synced_at":"2025-10-04T11:55:40.801Z","repository":{"id":48904407,"uuid":"62679024","full_name":"tektite-software/authoreyes","owner":"tektite-software","description":"A modern authorization plugin for Rails.","archived":false,"fork":false,"pushed_at":"2019-08-21T09:10:15.000Z","size":305,"stargazers_count":13,"open_issues_count":7,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T19:12:12.667Z","etag":null,"topics":["authorization","rails","rails-5"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tektite-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-06T00:39:50.000Z","updated_at":"2022-03-19T14:04:40.000Z","dependencies_parsed_at":"2022-09-22T14:25:58.147Z","dependency_job_id":null,"html_url":"https://github.com/tektite-software/authoreyes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tektite-software/authoreyes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tektite-software%2Fauthoreyes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tektite-software%2Fauthoreyes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tektite-software%2Fauthoreyes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tektite-software%2Fauthoreyes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tektite-software","download_url":"https://codeload.github.com/tektite-software/authoreyes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tektite-software%2Fauthoreyes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278308624,"owners_count":25965654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authorization","rails","rails-5"],"created_at":"2024-09-24T13:12:04.230Z","updated_at":"2025-10-04T11:55:40.772Z","avatar_url":"https://github.com/tektite-software.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authoreyes\n\n[![Gem Version](https://badge.fury.io/rb/authoreyes.svg)](https://badge.fury.io/rb/authoreyes) [![Build Status](https://travis-ci.org/tektite-software/authoreyes.svg?branch=master)](https://travis-ci.org/tektite-software/authoreyes) [![Dependency Status](https://gemnasium.com/badges/github.com/tektite-software/authoreyes.svg)](https://gemnasium.com/github.com/tektite-software/authoreyes)\n [![Code Climate](https://codeclimate.com/github/tektite-software/authoreyes/badges/gpa.svg)](https://codeclimate.com/github/tektite-software/authoreyes) [![Test Coverage](https://codeclimate.com/github/tektite-software/authoreyes/badges/coverage.svg)](https://codeclimate.com/github/tektite-software/authoreyes/coverage) [![Inline docs](http://inch-ci.org/github/tektite-software/authoreyes.svg?branch=master)](http://inch-ci.org/github/tektite-software/authoreyes)\n\n_Authoreyes_ (pronounced \"authorize\") is intended to be a modern, Rails 5 compatible replacement for [Declarative Authorization](https://github.com/stffn/declarative_authorization/).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'authoreyes'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install authoreyes\n\n## Usage\n\nFor Rails authorization in Rails versions 4 and below, please use [Declarative Authorization](https://github.com/stffn/declarative_authorization) or one of its forks.\n\n__Warning! This gem is not finished!__\n\nAt this point, to use Authoreyes, you must do the following:\n  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.\n  2. Define privileges for every single action you want to be accessed.  As of now, Authoreyes has only one mode: authorize everything.\n  3. Done!  Authoreyes will do its job.\n\nIf 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.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/tektite-software/authoreyes.\n\n__Please check out the wiki for guides on contributing to this project.__\n\n## Acknowledgements\n\nThis gem was originally based on [stffn](https://github.com/stffn)'s gem [Declarative_Authorization](https://github.com/stffn/declarative_authorization).  Many thanks to stffn and all who contributed to Declarative Authorization for a great gem!\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n:copyright: 2016 Tektite Software\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftektite-software%2Fauthoreyes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftektite-software%2Fauthoreyes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftektite-software%2Fauthoreyes/lists"}