You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
Aegis - A complete authorization solution for Rails¶↑
Aegis is an authorization solution for Ruby on Rails that supports roles and a RESTish, resource-style declaration of permission rules. Getting started with Aegis is easy and requires very little integration. As your authorization requirements become more complex, Aegis will grow with you.
The authors of this gem have moved on to create Consul, our next-gen authorization solution. While Aegis remains a stable solution for Rails 2, this gem is not being developed further.
If you are looking for Rails 3+ support you might want to browse through forks of Aegis.
If you are interested in taking over future maintenance of Aegis, write to henning.koch@makandra.de regarding transfer of gem ownership. Please attach links to work you did on Aegis in a fork, so we can know you are serious about this.
All your permissions live in a single class Permissions. Permissions are described using resources, similiar to your routes. Your permission resources can match those in your routes, but don’t have to.
Access to resources or individual actions can be granted or denied to specific roles.
You are now familiar with the basic use case. Aegis can do a lot more than that. There is an awesome documentation wiki with detailed information on many basic and advanced topics, including: