Skip to content

ResourceType Features

Pascal Knüppel edited this page Aug 5, 2020 · 1 revision

The Resource Type definition allows to add an extension on the resource type definitions. Which extensions are possible is spread throughout the documentation why this page shall give a simple full example of the properties that may be set:

"urn:gold:params:scim:schemas:extension:url:2.0:ResourceTypeFeatures": {
    "disabled": false,
    "singletonEndpoint": true,
    "autoFiltering": false,
    "autoSorting": false,
    
    "endpointControl" : {
      "disableCreate" : true,
      "disableGet" : true,
      "disableList" : true,
      "disableUpdate" : true,
      "disableDelete" : true
    },
    
    "authorization": {
      
      "authenticated": true,
      
      "roles": [
        "admin"
      ],
      "rolesCreate": [
        "create"
      ],
      "rolesGet": [
        "get"
      ],
      "rolesUpdate": [
        "update"
      ],
      "rolesDelete": [
        "delete"
      ]
    }
  }