Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 154 lines (80 sloc) 5.76 kb
b2964ca @stffn Updated Changelog and bumped patch level to 0.5.2
authored
1 ** RELEASE 0.5.2 (Dec 31, 2010) **
2
3 * Bugfixes and documentation updates
4
2d641b2 @stffn Removed Rails gem dependency because of problems with decl_auth causi…
authored
5 ** RELEASE 0.5.1 (Sep 12, 2010) **
30fefc4 @stffn Release 0.5
authored
6
7 ** RELEASE 0.5 (July 21, 2010) **
8
e6acd9e @stffn Updated changelog and contributors
authored
9 * Ruby 1.9.2 compatibility [sb]
10
11 * Comparisons in authorization roles: lt, lte, gt, gte [aepstein,hollownest]
12
13 * DSL optimization: allow array being passed to to
14
0d3ac38 @stffn Documentation and changelog entries for previous commits
authored
15 * Omnipotent roles [timcharper]
16
17 * Meaningful error in case of missing authorization rules file [timcharper]
18
19 * Rails 3 support [sb]
b21d8cd @stffn Rails 3 support
authored
20
dff54b5 @stffn Updated Change Log and Contributors
authored
21 * Support shallow nested resources [jjb]
22
6d72c49 @stffn Updated documentation for multiple auth rules files
authored
23 * Allow multiple authorization rules files [kaichen]
24
5dcdaa3 @stffn Fixed changelog lag
authored
25 ** RELEASE 0.4 (November 15, 2009) **
26
27 * Implemented controller namespace handling [sb]
28
29 * Improved if_attribute to allow nesting of has_many associations [sb]
30
31 * Improved if_permitted_to: allow has_many associations and improved context inference [sb]
32
33 * Added option on handling non-existant auto-loaded object [sb]
34
35 * Added with_user as module method [sb]
36
37 * Change support i18n [sb]
38
39 ** RELEASE 0.3.2.3 (October 12, 2009) **
40
41 * Switched to gemcutter [sb]
42
43 * Fixed has_role? for guest user. Closes #8 [sb]
44
45 * Fixed unnecessary DB query with named scopes [sb, ledermann]
46
47 * Change support: suggestions: grouping, sorting by affected users [sb]
48
49 * Fixed context inference from AR objects for STI by switching to #class.name.tableize [sb]
50
51 * Allow multiple contexts as arguments to has_permission_on [Jeroen van Dijk]
52
53 ** RELEASE 0.3.2.2 (August 27, 2009) **
54
55 * Fix without_access_control test cases [sb]
56
57 * Fixed error on debug logging (Closes #6) [sb]
58
59 * Fixed without_access_control instance method in TestHelper [sb]
60
61 ** RELEASE 0.3.2.1 (August 14, 2009) **
62
63 * Fix gemspec for Rdoc generation [sb]
64
65 ** RELEASE 0.3.2 (August 13, 2009) **
66
67 * Fix for model-level permitted_to?/! [sb]
68
69 ** RELEASE 0.3.1 (August 12, 2009) **
70
51b8bd1 @stffn Change support: suggestions: grouping, sorting by affected users
authored
71 * Change Support: Suggestion grouping, sort by affected users [sb]
72
32975e8 @stffn Fixed context inference from AR objects for STI by switching to #clas…
authored
73 * Changed context derived from objects to #class.name.tableize to fix STI [sb]
74
d763a2e @stffn Simplified controller authorization with filter_resource_access
authored
75 * Simplified controller authorization with filter_resource_access [sb]
76
faecc17 @stffn Allow explicit context in permitted_to in addition to object
authored
77 * Allow passing explicit context in addition to object in permitted_to? [Olly Lylo, sb]
78
0cbd805 @stffn Added Change Supporter to CHANGELOG
authored
79 * Change Supporter: suggest changes to authorization rules [sb]
80
819df59 @stffn Added permitted_to?/! for models
authored
81 * Added permitted_to!/? in model [Eike Carls]
82
0cbd805 @stffn Added Change Supporter to CHANGELOG
authored
83 * New test helper: should_(not_)_be_allowed_to(privilege, object_or_context) [sb]
2162e87 @stffn New join_by option for has_permission_on to allow statements inside t…
authored
84
0f44a3a @stffn Release of 0.3.0
authored
85 ** RELEASE 0.3 (April 20, 2009) **
5af43ff @stffn Allow calling using_access_control on AR:Base directly
authored
86
0f44a3a @stffn Release of 0.3.0
authored
87 * New option :join_by for has_permission_on to allow AND'ing of statements in one has_permission_on block [sb]
29d81ec @stffn New operator: intersects_with for comparing collections with a set of…
authored
88
0f44a3a @stffn Release of 0.3.0
authored
89 * Allow using_access_control to be called directly on ActiveRecord::Base, globally enabling model security [sb]
90
91 * New operator: intersects_with, comparing two Enumerables in if_attribute [sb]
92
93 * Improved if_permitted_to syntax: if the attribute is left out, permissions are checked on for the current object [sb]
a5d748d @stffn Improved if_permitted_to syntax: allows checks on the current object
authored
94
0bbc07a Added #has_role_with_hierarchy? method to retrieve explicit and calcu…
Jeremy Friesen authored
95 * Added #has_role_with_hierarchy? method to retrieve explicit and calculated roles [jeremyf]
96
17d6dc0 @stffn Those missing CHANGELOG entries
authored
97 * Added a simple rules analyzer to help improve authorization rules [sb]
98
99 * Gemified plugin. Needed to restructure the lib path contents [sb]
100
138ac3b Added handling of Authorization::AuthorizationInController::ClassMeth…
Jeremy Friesen authored
101 * Added handling of Authorization::AuthorizationInController::ClassMethods.filter_access_to parameters that are of the form [:show, :update] instead of just :show, :update. [jeremyf]
102
17d6dc0 @stffn Those missing CHANGELOG entries
authored
103 * Added authorization usage helper for checking filter_access_to usage in controllers [sb]
104
781e3a4 @stffn Missing CHANGELOG entry
authored
105 * Added a authorization rules browser. See README for more information [sb]
21b0b31 @stffn Missing changelog entries
authored
106
107 * Added Model.using_access_control? to check if a model has model security activated [sb]
108
109 * Changed Authorization::ObligationScope#map_table_alias_for [Brian Langenfeld]
110 * Fixed to prevent bad aliases from being produced.
111
1940857 @stffn Improved permit! [Brian Langenfeld]
authored
112 * Changed Authorization::Attribute#validate? [Brian Langenfeld]
113 * Encountering a nil value when evaluating an attribute now raises a NilAttributeValueError, instead of an AuthorizationError. We leave it to the caller to decide what to do about it.
114
115 * Changed Authorization::Engine#permit! [Brian Langenfeld]
116 * We now convert incoming privileges to symbols (e.g. 'read' is made equivalent to :read). This ensures the privileges will match those defined in the authorization rules file.
117 * The method now properly infers context when checking against an association (e.g. user.posts). We do this by leveraging ActiveRecord builder method 'new' to instantiate a proper object we can work with.
118 * When testing rules for positive results (via Authorization::Attribute#validate?), we now rescue NilAttributeValueError exceptions, simply causing the rule to return a negative result (instead of barfing).
fe3ee55 @stffn ObligationScope to use :include instead of :join if rules are OR'ed […
authored
119
120 * Changed Authorization::ObligationScope#rebuild_join_options! [Brian Langenfeld]
121 * If we're dealing with multiple obligations we have to check (i.e. ones that result in OR'd conditions), we now use :include instead of :joins for our generated scope. This does seem like a kludge, but until ActiveRecord scopes support unions (for checking obligations individually and consolidating the results), we don't have much choice. Something to revisit later, for sure.
122
035c94f @stffn Added CHANGELOG
authored
123 ** RELEASE 0.2 (February 2, 2009) **
124
125 * added negative operators: is_not, not_in, does_not_contain [sb]
126
127 * changed user.roles to user.role_symbols to reduce interferance with associations [sb]
128
129 * Ruby 1.9 and Rails 2.3 compatibility [sb]
130
131 * if_permitted_to for has_permission_on blocks for DRYer auth rules [sb]
132
133 * ObligationScope rewrite of query rewriting [Brian Langenfeld]
134
135 * changed exception hierarchy to begin at StandardError [sb]
136
137 * :is_in operator [sb]
138
139 * added has_role? helper [sb]
140
141 * made plugin thread-safe [sb]
142
143 * added maintenance and test helpers [sb]
144
145 * changed default permission denied response to 403 Forbidden [sb]
146
147 * descriptions for titles and roles [sb]
148
149 * fixed for PostgreSQL [Mark Mansour]
150
151 * improved DSL syntax: allow for array of contexts in has_permission_on [sb]
152
153 ** RELEASE 0.1 (August 22, 2008) **
Something went wrong with that request. Please try again.