Sha256: bc8156c34f68ec1922eaa2a4f084404dac4af6018ab80554df7dc43e91ed2303
Contents?: true
Size: 443 Bytes
Versions: 3
Compression:
Stored size: 443 Bytes
Contents
module Conjur::DSL2::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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
conjur-asset-dsl2-0.6.1 | lib/conjur/dsl2/executor/grant.rb |
conjur-asset-dsl2-0.6.0 | lib/conjur/dsl2/executor/grant.rb |
conjur-asset-dsl2-0.5.0 | lib/conjur/dsl2/executor/grant.rb |