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).
Required Ruby Version
>= 0
Authors
Daniel Bornkessel
Versions
- 0.2.6 June 02, 2014 (14 KB)
- 0.2.3 May 28, 2014 (14 KB)
- 0.2.2 May 28, 2014 (14 KB)
- 0.2.1 May 27, 2014 (14 KB)
- 0.2.0 May 21, 2014 (13 KB)