Sha256: 1f24b640bd10a8dee8a67a0f6ef8d8f861e1b826af77982ed0ad7ae8fdbade4d
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 Bytes
Contents
module Conjur::Policy::Types class Give < Base attribute :resource, kind: :resource attribute :owner, kind: :role self.description = %( Give ownership of a resource to a [Role](#reference/role). When the owner role performs a permission check on an owned resource, the result is always `true`. [More](/key_concepts/rbac.html) on role-based access control in Conjur. ) self.example = %( - !user Link - !secret song-of-storms - !give resource: !secret song-of-storms owner: !user Link ) def to_s "Give #{resource} to #{owner}" end end end
Version data entries
4 entries across 4 versions & 2 rubygems