Class: Scimitar::Schema::Rbac::EntitlementAssignment

Inherits:
Base
  • Object
show all
Defined in:
lib/scimitar/rbac/schema/entitlement_assignment.rb

Overview

Schema for the EntitlementAssignment complex type. Replaces the “freestyle” entitlement notation in SCIM core (RFC 7643) with structured sub-attributes referencing an Entitlement resource.

Class Method Summary collapse

Class Method Details

.scim_attributesObject



10
11
12
13
14
15
16
# File 'lib/scimitar/rbac/schema/entitlement_assignment.rb', line 10

def self.scim_attributes
  @scim_attributes ||= [
    Scimitar::Schema::Attribute.new(name: "value",   type: "string", required: true),
    Scimitar::Schema::Attribute.new(name: "display", type: "string", mutability: "readOnly"),
    Scimitar::Schema::Attribute.new(name: "type",    type: "string"),
  ]
end