module Roda::RodaPlugins::PermissionsPolicy::InstanceMethods

def permissions_policy

current permissions policy.
If a block is given, yield the current permission policy. Returns the
def permissions_policy
  policy = @_response.permissions_policy
  yield policy if defined?(yield)
  policy
end