RubyGems Navigation menu

cando 0.2.6

CanDo is a small gem to implement a simple user access system based on users, roles & capabilites, where: each user can have 0, 1 or many roles each role can have 0, 1 or many capabilites Users have capabilities by getting roles assigned (role == collection of capabilities). Within the code, the can helper method can be used to test whether a user has a certain capability or not (see below for a working code example).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.6 - June 02, 2014 (14 KB)
  2. 0.2.3 - May 28, 2014 (14 KB)
  3. 0.2.2 - May 28, 2014 (14 KB)
  4. 0.2.1 - May 27, 2014 (14 KB)
  5. 0.2.0 - May 21, 2014 (13 KB)
Show all versions (9 total)

Runtime Dependencies (2):

rake ~> 10.3.2
sequel ~> 4.10.0

Development Dependencies (5):

bundler ~> 1.0
jeweler ~> 2.0.1
rdoc ~> 4.1.1
rspec ~> 2.14.1
simplecov ~> 0.8.1

Owners:

Authors:

  • Daniel Bornkessel

SHA 256 checksum:

b6a5599df299db65c4d4f73ee036764fef4c2742197315965f6481003b58274e

Total downloads 27,524

For this version 3,780

License:

MIT

Required Ruby Version: >= 0

Links: