Rails and CanCan: Authorization for Specific Fields

Submitted by Christoph Olszowka 2012-02-27 16:37:29 UTC
Source:  http://highgroove.com/articles/2012/02/24/rails-and-cancan:-authorization-for-specific-fields.html

Referenced projects

Ruby on Rails

Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.

Rubygem rails

Total Downloads
48884051
Releases
244
Current Version
4.2.1
Released
2015-03-19 00:00:00 UTC
First Release
2004-10-25 04:00:00 UTC

Github rails/rails

Watchers
26282
Forks
10444
Development activity
Very active
Last commit
2015-05-28 18:09:54 UTC
Contributors
30
Issues

Cancan

Simple authorization solution for Rails which is decoupled from user roles. All permissions are stored in a single location.

Rubygem cancan

Total Downloads
4909999
Releases
29
Current Version
1.6.10
Released
2013-05-07 07:00:00 UTC
First Release
2009-11-16 08:00:00 UTC

Github ryanb/cancan

Watchers
5692
Forks
793
Development activity
Inactive
Last commit
2013-09-06 18:29:30 UTC
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.