Sha256: 88c2b23e63a6ebd2de09d8cb68d86a5452f5e765ea955915e4e01dd1de269050
Contents?: true
Size: 619 Bytes
Versions: 5
Compression:
Stored size: 619 Bytes
Contents
module Conjur::Policy::Types class Deny < Base self.description = %( Deny privileges on a [Resource](#reference/resource). (compare: [Revoke](#reference/revoke) for [Roles](#reference/role)) ) self.example = %( - !variable secret - !user rando - !deny role: !user rando privilege: read resource: !variable secret ) attribute :role, kind: :role, dsl_accessor: true attribute :privilege, kind: :string, dsl_accessor: true attribute :resource, dsl_accessor: true include ResourceMemberDSL def to_s "Deny #{role} to '#{privilege}' #{resource}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems