Ryan Bates
|
f9f71d679d
|
removing query.rb since it is no longer used
|
2010-12-30 15:45:22 -08:00 |
|
Ryan Bates
|
ec616ae75b
|
moving accessible_by out into ModelAdditions module
|
2010-12-30 15:40:53 -08:00 |
|
Ryan Bates
|
bbb02f7c8f
|
dynamically detect which model adapter to use given a class
|
2010-12-30 14:42:19 -08:00 |
|
Ryan Bates
|
af9e77a79e
|
adding initial active record adapter
|
2010-12-29 16:24:06 -08:00 |
|
Ryan Bates
|
4c5ba09f4c
|
adding model adapter files in proper location with loading behavior
|
2010-12-29 15:01:49 -08:00 |
|
Ryan Bates
|
37c149182c
|
renaming CanDefinition to Rule
|
2010-12-21 10:41:55 -08:00 |
|
Mani Tadayon
|
be74df0548
|
Add support for Mongoid documents along with basic specs.
|
2010-10-13 14:41:29 -07:00 |
|
Ryan Bates
|
4eee637270
|
adding support for loading through Inherited Resources - closes #23
|
2010-09-09 16:28:00 -07:00 |
|
Ryan Bates
|
25a1c553bf
|
adding :through option to replace :nesting option and moving ResourceAuthorization class code into ControllerResource
|
2010-08-05 16:12:30 -07:00 |
|
Ryan Bates
|
a42e067f3b
|
extracting out Query class for generating sql conditions and association joins
|
2010-07-20 13:20:01 -07:00 |
|
Ryan Bates
|
bbbc8a68e0
|
refactoring much of Ability class into separate CanDefinition class
|
2010-04-18 00:11:15 -07:00 |
|
Ryan Bates
|
8903feee70
|
removing unauthorized! in favor of authorize! and including more information in AccessDenied exception - closes #40
|
2010-04-16 14:54:18 -07:00 |
|
Ryan Bates
|
d9f3c8b0ae
|
renaming noun to subject internally
|
2010-04-16 08:55:36 -07:00 |
|
Ryan Bates
|
3c68a911d0
|
adding can method to Active Record for fetching records matching a specific ability, still needs documentation
|
2010-04-15 17:04:36 -07:00 |
|
Ryan Bates
|
baeef0b9dd
|
adding conditions behavior to Ability#can and fetch with Ability#conditions - closes #53
|
2010-04-15 16:50:47 -07:00 |
|
David Chelimsky
|
35c4864de4
|
simplify paths
|
2010-04-16 02:46:02 +08:00 |
|
Ryan Bates
|
51fa61bbae
|
refactoring out resource loading/building logic into separate class
|
2009-12-13 12:11:02 -08:00 |
|
Ryan Bates
|
da5a5c031f
|
refactoring out controller logic into separate ResourceAuthorization class - closes #11
|
2009-11-26 09:29:53 -08:00 |
|
Ryan Bates
|
b9227eb971
|
adding a lot of inline documentation to code for rdocs
|
2009-11-17 16:56:16 -08:00 |
|
Ryan Bates
|
4b6f538663
|
moving can definition into ability instance instead of class, this removes ugly instance_exec command
|
2009-11-16 19:59:40 -08:00 |
|
Ryan Bates
|
aaed265c91
|
turning into a funtioning Rails plugin
|
2009-11-16 19:24:04 -08:00 |
|
Ryan Bates
|
44b36ce2fc
|
adding controller additions with basic behavior.
|
2009-11-16 17:02:49 -08:00 |
|
Ryan Bates
|
c663effc06
|
using instance_exec to change scope of can blocks to instance of ability, this is a bit ugly so I may end up using methods instead
|
2009-11-16 16:24:36 -08:00 |
|
Ryan Bates
|
0cfb8c7c41
|
adding basic ability module
|
2009-11-16 14:28:52 -08:00 |
|