ktopping_acl9 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.textile ADDED
@@ -0,0 +1,46 @@
1
+ h2. 0.12.0 (04-Jan-2010)
2
+
3
+ An anniversary release of fixes and hacks, introduced by venerable users of the plugin.
4
+
5
+ * Allow for inheritance of subject (Jeff Jaco)
6
+ * Renamed "Object" module in extensions, since it caused some breakage inside activesupport
7
+ (invisiblelama).
8
+ * @show_to@ helper for usage in views (Antono Vasiljev)
9
+ * @:association_name@ config option, now you can change Subject#role_objects to whatever
10
+ you want (Jeff Tucker).
11
+ * Fix bug when Subject#id is a string, e.g. UUID (Julien Bachmann)
12
+ * Bug with action blocks when using anonymous and another role (Franck)
13
+
14
+
15
+ h2. 0.11.0 (16-Sep-2009)
16
+
17
+ * :protect_global_roles
18
+ * Subject#roles renamed to Subject#role_objects
19
+ * Fix namespaced models in roles backend (thanks goes to Tomas Jogin)
20
+ * Action name override in boolean methods.
21
+ * @:query_method@ option for @access_control@.
22
+
23
+ h2. 0.10.0 (03-May-2009)
24
+
25
+ * Use context+matchy combo for testing
26
+ * Bugfix: unwanted double quote in generated SQL statement
27
+
28
+ h2. 0.9.4 (27-Feb-2009)
29
+
30
+ * Introduce :if and :unless rule options.
31
+
32
+ h2. 0.9.3 (04-Feb-2009)
33
+
34
+ * Fix bug in delete_role - didn't work with custom class names
35
+ * Add @:helper@ option for @access_control@.
36
+ * Ability to generate helper methods directly (place @include Acl9Helpers@ in your helper module).
37
+
38
+ h2. 0.9.2 (11-Jan-2009)
39
+
40
+ * @access_control :method do end@ as shorter form for @access_control :as_method => :method do end@.
41
+ * Boolean method can now receive an objects hash which will be looked into first before taking
42
+ an instance variable.
43
+
44
+ h2. 0.9.1 (03-Jan-2009)
45
+
46
+ Initial release.
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Oleg Dashevskii
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.