Sha256: 2701ca94139b94350743f0af0d1785fc59dd45738895ba36498e0b608839ea98
Contents?: true
Size: 435 Bytes
Versions: 6
Compression:
Stored size: 435 Bytes
Contents
module Conjur::DSL2::Executor # Deny a privilege with a POST request to the +deny+ url of the resource, with the privilege # and role as parameters. class Deny < Base def execute action({ 'method' => 'post', 'path' => "#{resource_path(statement.resource)}?deny", 'parameters' => { "privilege" => statement.privilege, "role" => statement.role.roleid(default_account) } }) end end end
Version data entries
6 entries across 6 versions & 1 rubygems