Class: Scimitar::Schema::Rbac::RoleAssignment

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

Overview

Schema for the RoleAssignment complex type. Replaces the “freestyle” role notation in SCIM core (RFC 7643) with structured sub-attributes referencing a Role resource.

Class Method Summary collapse

Class Method Details

.scim_attributesObject



10
11
12
13
14
15
16
# File 'lib/scimitar/rbac/schema/role_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