Ruby-ACL 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/Ruby-ACL.rb +7 -7
  2. metadata +1 -1
data/lib/Ruby-ACL.rb CHANGED
@@ -12,12 +12,16 @@ require 'date'
12
12
  require 'ace_rule'
13
13
  require 'rubyacl_exception'
14
14
 
15
- #RubyACL is library that handles access permisions. RubyACL offers to create and modify three ACL objects - three dimensions: Principal, Privilege, Resource object.
15
+ #RubyACL is library that handles access permisions. RubyACL offers to create and
16
+ #modify three ACL objects - three dimensions: Principal, Privilege, Resource
17
+ #object.
16
18
  #Principal is someone or something that want to access.
17
19
  #Privilege is level of access. (read, write etc.).
18
20
  #Resource object is what is principal accessing.
19
- #RubyACL uses API interface to communicate with database. This interface is described by class API_inteface.
20
- #At the end of the class you can see set of examples. Also good source of information are testcases.
21
+ #RubyACL uses API interface to communicate with database. This interface is
22
+ #described by class API_inteface.
23
+ #At the end of the class you can see set of examples. Also good source of
24
+ #information are testcases.
21
25
  class RubyACL
22
26
 
23
27
  # name of the ACL
@@ -803,10 +807,6 @@ Access denied." if @report
803
807
 
804
808
  end
805
809
 
806
- #TODO Vzorovou tridu API s vyhazovanim vyjimek must be implemented
807
- #TODO ptam se jestli nekdo kdo neexistuje ma pristup. Pozor na vyjimku, mel bych vratit rovnou false.
808
- #TODO Lze pridat privilege do principal a naopak? test na to by byl peknej :)
809
-
810
810
  ##Usage example. Also very good source of information are test cases.
811
811
  #puts "start"
812
812
  #$:.unshift("../../eXistAPI/lib")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Ruby-ACL
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: