Controlling access to Resque with CanCan

Submitted by Christoph Olszowka 2011-08-01 14:14:51 UTC
Source:  http://www.arcath.net/posts/38

Referenced projects

Resque

Resque is a Redis-backed Ruby library for creating background jobs, placing those jobs on multiple queues, and processing them later. Background jobs can be any Ruby class or module that responds to perform. Your existing classes can easily be converted to background jobs or you can create new classes specifically to do work. Or, you can do both. Resque is heavily inspired by DelayedJob (which rocks) and is comprised of three parts: * A Ruby library for creating, querying, and processing jobs * A Rake task for starting a worker which processes jobs * A Sinatra app for monitoring queues, jobs, and workers.

Rubygem resque

Total Downloads
7101818
Releases
64
Current Version
1.26.0
Released
2016-03-11 00:00:00 UTC
First Release
2009-11-03 11:00:00 UTC

Github resque/resque

Watchers
7254
Forks
1351
Development activity
Active
Last commit
2016-04-26 18:30:44 UTC

Cancan

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

Rubygem cancan

Total Downloads
6041927
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
6058
Forks
825
Development activity
Inactive
Last commit
2016-04-04 05:19:02 UTC

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
67702332
Releases
278
Current Version
5.0.0.racecar1
Released
2016-05-06 00:00:00 UTC
First Release
2004-10-25 04:00:00 UTC

Github rails/rails

Watchers
30890
Forks
12525
Development activity
Very active
Last commit
2016-05-03 01:24:22 UTC
Contributors
30
Issues
×

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.