Class: Conjur::Policy::Types::Entitlements
- Includes:
- Grants, Permissions, Tagless
- Defined in:
- lib/conjur/policy/types/policy.rb
Overview
Entitlements will allow creation of any record, as well as declaration of permit, deny, grant and revoke.
Instance Method Summary collapse
Methods included from Permissions
Methods included from CustomStatement
Methods included from Grants
Methods included from Tagless
Methods inherited from YAMLList
Instance Method Details
#policy(id = nil, &block) ⇒ Object
74 75 76 77 78 79 80 |
# File 'lib/conjur/policy/types/policy.rb', line 74 def policy id=nil, &block policy = Policy.new policy.id(id) unless id.nil? push policy do_scope policy, &block end |