module Conjur::Policy::Executor::ActingAs

When creating a raw Role or Resource, the owner of the new record is specified by the acting_as parameter.

Public Instance Methods

acting_as_parameters() click to toggle source
# File lib/conjur/policy/executor/create.rb, line 97
def acting_as_parameters
  {}.tap do |params|
    params["acting_as"] = record.owner.roleid if record.owner
  end
end