Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 166 lines (76 sloc) 5.759 kB
bf9b8ad @ryanb filling in some inline documentation for 1.4
authored
1 1.4.0 (not yet released)
2
3 * Adding check_authorization and skip_authorization controller class methods to ensure authorization is performed (thanks justinko) - see issue #135
4
5 * Setting initial attributes based on ability conditions in new/create actions - see issue #114
6
7 * Check parent attributes for nested association in index action - see issue #121
8
9 * Supporting nesting in can? method using hash - see issue #121
10
11 * Adding I18n support for Access Denied messages (thanks EppO) - see issue #103
12
13 * Passing no arguments to +can+ definition will pass action, class, and object to block - see issue #129
14
15 * Don't pass action to block in +can+ definition when using :+manage+ option - see issue #129
16
17 * No longer calling block in +can+ definition when checking on class - see issue #116
18
19
04b523e @ryanb releasing version 1.3.4
authored
20 1.3.4 (August 31, 2010)
21
22 * Don't stop at +cannot+ with hash conditions when checking class (thanks tamoya) - see issue #131
23
24
a10a38c @ryanb releasing version 1.3.3
authored
25 1.3.3 (August 20, 2010)
26
27 * Switching to Rspec namespace to remove deprecation warning in Rspec 2 - see issue #119
28
29 * Pluralize nested associations for conditions in accessible_by (thanks mlooney) - see issue #123
30
31
a566ea0 @ryanb releasing version 1.3.2 which fixes slice error when passing custom r…
authored
32 1.3.2 (August 7, 2010)
33
34 * Fixing slice error when passing in custom resource name - see issue #112
35
36
cd74267 @ryanb releasing version 1.3.1 with sanitize_sql fix
authored
37 1.3.1 (August 6, 2010)
38
39 * Fixing protected sanitize_sql error - see issue #111
40
41
7a17586 @ryanb releasing version 1.3.0
authored
42 1.3.0 (August 6, 2010)
43
7d9e710 @ryanb updating changelog
authored
44 * Adding :find_by option to load_resource - see issue #19
45
c9e0f4e @ryanb renaming :singular resource option to :singleton
authored
46 * Adding :singleton option to load_resource - see issue #93
7d9e710 @ryanb updating changelog
authored
47
a10a38c @ryanb releasing version 1.3.3
authored
48 * Supporting multiple resources in :through option for polymorphic associations - see issue #73
7d9e710 @ryanb updating changelog
authored
49
50 * Supporting Single Table Inheritance for "can" comparisons - see issue #55
51
52 * Adding :instance_name option to load/authorize_resource - see issue #44
53
54 * Don't pass nil to "new" to keep MongoMapper happy - see issue #63
55
156839b @ryanb only use the :read action when authorizing parent resources
authored
56 * Parent resources are now authorized with :read action.
57
25a1c55 @ryanb adding :through option to replace :nesting option and moving Resource…
authored
58 * Changing :resource option in load/authorize_resource back to :class with ability to pass false
59
60 * Removing :nested option in favor of :through option with separate load/authorize call
61
62 * Moving internal logic from ResourceAuthorization to ControllerResource class
63
c5737f6 @ryanb adding thanks to changelog
authored
64 * Supporting multiple "can" and "cannot" calls with accessible_by (thanks funny-falcon) - see issue #71
1659f21 @ryanb updating changelong with support for multiple can calls in accessible…
authored
65
cad4259 @ryanb supporting deeply nested aliases - closes #98
authored
66 * Supporting deeply nested aliases - see issue #98
67
7a17586 @ryanb releasing version 1.3.0
authored
68
1b4377c @ryanb releasing version 1.2.0
authored
69 1.2.0 (July 16, 2010)
70
1ade442 @ryanb load parent resources for collection actions such 'index'
authored
71 * Load nested parent resources on collection actions such as "index" (thanks dohzya)
72
2a3dd85 @ryanb adding :name option to load_and_authorize_resource if it does not mat…
authored
73 * Adding :name option to load_and_authorize_resource if it does not match controller - see issue #65
74
dfd84a1 @ryanb improving inline documentation
authored
75 * Fixing issue when using accessible_by with nil can conditions (thanks jrallison) - see issue #66
7543eed fixing issue when using accessible_by with nil can conditions - close…
John Allison authored
76
77 * Pluralize table name for belongs_to associations in can conditions hash (thanks logandk) - see issue #62
78
06296b0 @ryanb support has_many association or arrays in can conditions hash
authored
79 * Support has_many association or arrays in can conditions hash
80
e200814 @ryanb adding joins clause to accessible_by when conditions are across assoc…
authored
81 * Adding joins clause to accessible_by when conditions are across associations
82
1b4377c @ryanb releasing version 1.2.0
authored
83
232ecd5 @ryanb releasing 1.1.1 which fixes behavior in Rails 3 by properly initializ…
authored
84 1.1.1 (April 17, 2010)
85
86 * Fixing behavior in Rails 3 by properly initializing ResourceAuthorization
87
88
ff8c11c @ryanb releasing version 1.1, see wiki and changelog for details
authored
89 1.1.0 (April 17, 2010)
69f7a65 @ryanb support additional arguments to can? which get passed to the block - …
authored
90
f1ba76b @ryanb supporting arrays, ranges, and nested hashes in ability conditions
authored
91 * Supporting arrays, ranges, and nested hashes in ability conditions
92
f466963 @ryanb allow access to classes when using hash conditions since you'll gener…
authored
93 * Removing "unauthorized!" method in favor of "authorize!" in controllers
8903fee @ryanb removing unauthorized! in favor of authorize! and including more info…
authored
94
95 * Adding action, subject and default_message abilities to AccessDenied exception - see issue #40
96
ef5900c @ryanb adding caching to current_ability class method, if you're overriding …
authored
97 * Adding caching to current_ability controller method, if you're overriding this be sure to add caching too.
98
240c281 @ryanb renaming ActiveRecordAdditions#can method to accessible_by since it f…
authored
99 * Adding "accessible_by" method to Active Record for fetching records matching a specific ability
3c68a91 @ryanb adding can method to Active Record for fetching records matching a sp…
authored
100
baeef0b @ryanb adding conditions behavior to Ability#can and fetch with Ability#cond…
authored
101 * Adding conditions behavior to Ability#can and fetch with Ability#conditions - see issue #53
102
23a5888 @ryanb renaming :class option to :resource for load_and_authorize_resource w…
authored
103 * Renaming :class option to :resource for load_and_authorize_resource which now supports a symbol for non models - see issue #45
104
105 * Properly handle Admin::AbilitiesController in params[:controller] - see issue #46
106
107 * Adding be_able_to RSpec matcher (thanks dchelimsky), requires Ruby 1.8.7 or higher - see issue #54
6e1e96c @ryanb allow additional arguments for be_able_to matcher, this requires Ruby…
authored
108
69f7a65 @ryanb support additional arguments to can? which get passed to the block - …
authored
109 * Support additional arguments to can? which get passed to the block - see issue #48
110
111
3b9cdce @ryanb releasing v1.0.2
authored
112 1.0.2 (Dec 30, 2009)
113
7d3b4cd @ryanb Adding clear_aliased_actions to Ability which removes previously defi…
authored
114 * Adding clear_aliased_actions to Ability which removes previously defined actions including defaults - see issue #20
115
f99d506 @ryanb Append aliased actions (don't overwrite them) - closes #20
authored
116 * Append aliased actions (don't overwrite them) - see issue #20
117
ef22de6 @ryanb adding custom message argument to unauthorized! method - closes #18
authored
118 * Adding custom message argument to unauthorized! method (thanks tjwallace) - see issue #18
119
120
f919ac5 @ryanb releasing gem v1.0.1
authored
121 1.0.1 (Dec 14, 2009)
122
021f33c @ryanb Adding :class option to load_resource so one can customize which clas…
authored
123 * Adding :class option to load_resource so one can customize which class to use for the model - see issue #17
124
e9f0130 @ryanb Don't fetch parent of nested resource if *_id parameter is missing so…
authored
125 * Don't fetch parent of nested resource if *_id parameter is missing so it works with shallow nested routes - see issue #14
126
127
f7480d1 @ryanb releasing gem v1.0.0 (backwards incompatible, see changelog)
authored
128 1.0.0 (Dec 13, 2009)
129
ffa677b @ryanb Don't set resource instance variable if it has been set already - clo…
authored
130 * Don't set resource instance variable if it has been set already - see issue #13
131
a75aee7 @ryanb Allowing :nested option to accept an array for deep nesting
authored
132 * Allowing :nested option to accept an array for deep nesting
133
cd217eb @ryanb adding :nested option for load_resource - closes #10
authored
134 * Adding :nested option to load resource method - see issue #10
135
94e031b @ryanb Pass :only and :except options to before filters for load/authorize r…
authored
136 * Pass :only and :except options to before filters for load/authorize resource methods.
137
63634b4 @ryanb Adding :collection and :new options to load_resource method so we can…
authored
138 * Adding :collection and :new options to load_resource method so we can specify behavior of additional actions if needed.
139
a5f9882 @ryanb turning load and authorize resource methods into class methods which …
authored
140 * BACKWARDS INCOMPATIBLE: turning load and authorize resource methods into class methods which set up the before filter so they can accept additional arguments.
141
f7480d1 @ryanb releasing gem v1.0.0 (backwards incompatible, see changelog)
authored
142
43947c8 @ryanb releasing gem v0.2.1
authored
143 0.2.1 (Nov 26, 2009)
144
145 * many internal refactorings - see issues #11 and #12
146
d4405e6 @ryanb adding cannot method to define which abilities cannot be done - close…
authored
147 * adding "cannot" method to define which abilities cannot be done - see issue #7
148
e603655 @ryanb support custom objects (usually symbols) in can definition - closes #8
authored
149 * support custom objects (usually symbols) in can definition - see issue #8
150
f7480d1 @ryanb releasing gem v1.0.0 (backwards incompatible, see changelog)
authored
151
52649a8 @ryanb releasing gem 0.2.0 NOT BACKWARDS COMPATABLE, SEE CHANGELOG
authored
152 0.2.0 (Nov 17, 2009)
153
15a01a5 @ryanb fixing behavior of load_and_authorize_resource for namespaced control…
authored
154 * fix behavior of load_and_authorize_resource for namespaced controllers - see issue #3
155
766fe86 @ryanb support arrays being passed to 'can' to specify multiple actions or c…
authored
156 * support arrays being passed to "can" to specify multiple actions or classes - see issue #2
157
0f49b54 @ryanb adding 'cannot?' method which performs opposite check of 'can?' - clo…
authored
158 * adding "cannot?" method to ability, controller, and view which is inverse of "can?" - see issue #1
159
1edf583 @ryanb BACKWARDS INCOMPATIBLE: use Ability#initialize instead of 'prepare' t…
authored
160 * BACKWARDS INCOMPATIBLE: use Ability#initialize instead of 'prepare' to set up abilities - see issue #4
161
52649a8 @ryanb releasing gem 0.2.0 NOT BACKWARDS COMPATABLE, SEE CHANGELOG
authored
162
163 0.1.0 (Nov 16, 2009)
28eaf1b @ryanb releasing gem v0.1.0
authored
164
165 * initial release
Something went wrong with that request. Please try again.