active_acl 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,10 @@
1
1
  ActiveAcl rails authorization system
2
2
 
3
+ Version 0.2.1 - December 2nd, 2006
4
+ - fixed bug in polymorph creation
5
+ - test suite uses sqlite3 as a default
6
+ - updated documentation
7
+
3
8
  Version 0.2.0 - November 28th, 2006
4
9
  - fixed bug with autogenerated mysql indexes too long
5
10
  - API change from Permission model to Privilege model
data/README CHANGED
@@ -26,7 +26,6 @@ ActiveAcl is released under the LGPL[http://www.opensource.org/licenses/lgpl-lic
26
26
  ==Limitations
27
27
  * At present only one grouping type per model is supported. This could be changed on request but I don't see a use case for it yet.
28
28
  * The DBMS has to support subselects. So PostgreSQL, Sqllite and MySQL 5 work, but MySQL 4 does not.
29
- * At present has_many_polymorphs has a bug that prevents usage with sqllite, hope this is fixed the next days.
30
29
  * At present plugin_migrations and loaded_plugins - which are dependencies for active_acl - need edge rails to run. Obrie told me he would release a 1.1.6 version soon. ActiveAcl core is 1.1.6 compatible, but I felt migration support is critical so I decided to add it now.
31
30
 
32
31
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'rake/contrib/sshpublisher'
8
8
  RCOV = "rcov"
9
9
 
10
10
  PKG_NAME = "active_acl"
11
- PKG_VERSION = "0.2.0"
11
+ PKG_VERSION = "0.2.1"
12
12
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
13
13
  RUBY_FORGE_PROJECT = "activeacl"
14
14
  RUBY_FORGE_USER = "hildolfur"
@@ -28,12 +28,10 @@ module ActiveAcl #:nodoc:
28
28
  ActiveAcl::Acl.instance_eval do
29
29
  has_many_polymorphs :requester_groups, {:from => from_classes,
30
30
  :through => :"active_acl/requester_group_links",
31
- :join_table_name => ActiveAcl::OPTIONS[:requester_group_links_table],
32
31
  :rename_individual_collections => true}
33
32
 
34
33
  has_many_polymorphs :target_groups, {:from => from_classes,
35
34
  :through => :"active_acl/target_group_links",
36
- :join_table_name => ActiveAcl::OPTIONS[:target_group_links_table],
37
35
  :rename_individual_collections => true}
38
36
  end
39
37
 
@@ -49,12 +49,10 @@ module ActiveAcl #:nodoc:
49
49
  ActiveAcl::Acl.instance_eval do
50
50
  has_many_polymorphs :requesters, {:from => from_classes,
51
51
  :through => :"active_acl/requester_links",
52
- :join_table_name => ActiveAcl::OPTIONS[:requester_links_table],
53
52
  :rename_individual_collections => true}
54
53
 
55
54
  has_many_polymorphs :targets, {:from => from_classes,
56
55
  :through => :"active_acl/target_links",
57
- :join_table_name => ActiveAcl::OPTIONS[:target_links_table],
58
56
  :rename_individual_collections => true}
59
57
  end
60
58
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: active_acl
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
7
- date: 2006-11-28 00:00:00 +01:00
6
+ version: 0.2.1
7
+ date: 2006-12-02 00:00:00 +01:00
8
8
  summary: Provides an unintrusive, scalable and very flexible approach to fine grained access control.
9
9
  require_paths:
10
10
  - lib
@@ -32,21 +32,21 @@ files:
32
32
  - lib/active_acl/cache
33
33
  - lib/active_acl/target_group_link.rb
34
34
  - lib/active_acl/load_files_from.rb
35
+ - lib/active_acl/privilege.rb
35
36
  - lib/active_acl/requester_link.rb
36
37
  - lib/active_acl/controller_group.rb
37
38
  - lib/active_acl/target_link.rb
38
- - lib/active_acl/requester_group_link.rb
39
- - lib/active_acl/load_controller_actions.rb
40
39
  - lib/active_acl/privilege_const_set.rb
41
- - lib/active_acl/acts_as_access_group.rb
40
+ - lib/active_acl/requester_group_link.rb
42
41
  - lib/active_acl/controller_action.rb
43
42
  - lib/active_acl/acl_section.rb
44
43
  - lib/active_acl/acts_as_access_object.rb
45
- - lib/active_acl/privilege.rb
46
44
  - lib/active_acl/options.rb
47
45
  - lib/active_acl/acl.rb
48
- - generators/active_acl/active_acl_generator.rb
46
+ - lib/active_acl/load_controller_actions.rb
47
+ - lib/active_acl/acts_as_access_group.rb
49
48
  - generators/active_acl/templates
49
+ - generators/active_acl/active_acl_generator.rb
50
50
  - db/migrate/001_base_table_setup.rb
51
51
  - init.rb
52
52
  - install.rb