Sha256: 02c24d392c21e0590050cccbc0f852a7f1707bfc3e22ada4c86f8f0e09d21e29
Contents?: true
Size: 445 Bytes
Versions: 5
Compression:
Stored size: 445 Bytes
Contents
module Conjur::Policy::Executor class Grant < Base def execute parameters = { "member" => statement.member.role.roleid } parameters['admin_option'] = statement.member.admin unless statement.member.admin.nil? action({ 'method' => 'put', 'path' => "authz/#{statement.role.account}/roles/#{statement.role.role_kind}/#{statement.role.id}?members", 'parameters' => parameters }) end end end
Version data entries
5 entries across 5 versions & 1 rubygems