Class Puppet::Network::Rights::Right
In: lib/puppet/network/rights.rb
Parent: Puppet::Network::AuthStore

A right.

Methods

Included Modules

Puppet::FileCollection::Lookup

Constants

ALL = [:save, :destroy, :find, :search]

Attributes

acl_type  [RW] 
authentication  [RW] 
environment  [RW] 
key  [RW] 
methods  [RW] 
name  [RW] 

Public Class methods

Public Instance methods

this is where all the magic happens. we‘re sorting the rights array with this scheme:

 * namespace rights are all in front
 * regex path rights are then all queued in file order

does this right is allowed for this triplet? if this right is too restrictive (ie we don‘t match this access method) then return :dunno so that upper layers have a chance to try another right tailored to the given method

restrict this right to some method only

There‘s no real check to do at this point

[Validate]