Class: Privilege
- Inherits:
-
ACL_Object
- Object
- ACL_Object
- Privilege
- Defined in:
- lib/privilege.rb
Instance Attribute Summary
Attributes inherited from ACL_Object
Instance Method Summary collapse
- #ge(temp_ace, final_ace, grid) ⇒ Object
-
#initialize(connector, col_path, report = false) ⇒ Privilege
constructor
A new instance of Privilege.
Methods inherited from ACL_Object
#add_membership, #create_new, #del_membership, #delete, #find_parents, #rename
Constructor Details
#initialize(connector, col_path, report = false) ⇒ Privilege
Returns a new instance of Privilege.
3 4 5 6 |
# File 'lib/privilege.rb', line 3 def initialize(connector, col_path, report = false) super(connector, col_path, report) @doc = "doc(\"#{@col_path}Privileges.xml\")" end |
Instance Method Details
#ge(temp_ace, final_ace, grid) ⇒ Object
8 9 10 11 12 |
# File 'lib/privilege.rb', line 8 def ge(temp_ace, final_ace, grid) temp = grid.find_index(temp_ace.priv) final = grid.find_index(final_ace.priv) return super(temp, final) end |