Class: CldProvisioning::Models::Shared::PolicyParameters

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/shared/policy_parameters.rb

Overview

For roles with ‘permission_type` set to `content`, this defines the type of content the role’s policies apply to:

  • The content type can be: ‘folder_id` or `collection_id`.

  • When assigning the role, provide the instance, e.g. ‘“folder_id”:“asdfjkl12347890”`. This specification is passed to the `policy_statement` (Cedar).

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initializePolicyParameters

Returns a new instance of PolicyParameters.



18
19
# File 'lib/cld_provisioning/models/shared/policy_parameters.rb', line 18

def initialize
end

Instance Method Details

#==(other) ⇒ Object



22
23
24
25
# File 'lib/cld_provisioning/models/shared/policy_parameters.rb', line 22

def ==(other)
  return false unless other.is_a?(self.class)
  true
end