Sha256: 343e97233bef35dfa7de3800223fb622cfc373e49f066764d25515e3ba2d8643
Contents?: true
Size: 420 Bytes
Versions: 8
Compression:
Stored size: 420 Bytes
Contents
module Conjur::Policy::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 } }) end end end
Version data entries
8 entries across 8 versions & 1 rubygems