 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( ResourceCondition = "resourcecondition" RequestCondition = "requestcondition" )
Variables ¶
This section is empty.
Functions ¶
func ConvertEACLToAPE ¶
ConvertEACLToAPE converts eacl.Table to apechain.Chain.
func ParseAPEChain ¶
ParseAPEChain parses APE chain rules.
func ParseAPERule ¶
ParseAPERule parses access-policy-engine statement from the following form: <status>[:status_detail] <action>... [<condition>...] <resource>...
Examples: deny Object.Put * deny:QuotaLimitReached Object.Put * allow Object.Put * allow Object.Get ResourceCondition:Department=HR RequestCondition:Actor=ownerA * allow Object.Get any ResourceCondition:Department=HR RequestCondition:Actor=ownerA * allow Object.Get all ResourceCondition:Department=HR RequestCondition:Actor=ownerA * allow Object.* * allow Container.* *
Types ¶
type ConvertEACLError ¶
type ConvertEACLError struct {
	// contains filtered or unexported fields
}
    func (*ConvertEACLError) Error ¶
func (e *ConvertEACLError) Error() string
func (*ConvertEACLError) Unwrap ¶
func (e *ConvertEACLError) Unwrap() error
 Click to show internal directories. 
   Click to hide internal directories.