Sha256: feea5457af6cf572071cd30d7bcd6f251e7482a7eb0fd23af55fa01d886741ba
Contents?: true
Size: 576 Bytes
Versions: 5
Compression:
Stored size: 576 Bytes
Contents
module Conjur::Policy::Types class Member < Base def initialize role = nil self.role = role end attribute :role attribute :admin, kind: :boolean, singular: true self.description = %( Designate the members of a [Role](#reference/role) such as a [Group](#reference/group). ) self.example = %( - !user dee - !user dum - !group brothers - !grant role: !group brothers members: - !user dee - !member dum role: !user dum admin: true ) def to_s "#{role} #{admin ? 'with' : 'without'} admin option" end end end
Version data entries
5 entries across 5 versions & 1 rubygems