TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Authority: ORM-neutral, OO Rails authorization

1 pointsby billybobabout 13 years ago
Authority is my new Rails authorization plugin. Why another one?<p>Some things that make it different:<p>- 100% ORM neutral - No new DSL to learn; just plain Ruby methods - Authorization logic goes in authorizer classes, so any inheritance pattern you want is fine - Helps you organize your logic, but that logic can be anything you can write in Ruby: check permissions in a database, or how many points a user has (like StackOverflow), or a weather report from London for all it cares.<p>Extensive tests and friendly documentation await you at the repo: http://github.com/nathanl/authority

1 comment

billybobabout 13 years ago
Authority is my new Rails authorization plugin. Why another one?<p>Some things that make it different:<p>- 100% ORM neutral<p>- No new DSL to learn; just plain Ruby methods<p>- Authorization logic goes in authorizer classes, so any inheritance pattern you want is fine<p>- Helps you organize your logic, but that logic can be anything you can write in Ruby: check permissions in a database, or how many points a user has (like StackOverflow), or a weather report from London for all it cares.<p>Extensive tests and friendly documentation await you at the repo: <a href="http://github.com/nathanl/authority" rel="nofollow">http://github.com/nathanl/authority</a>