managed.json revision 250518431587ddbe0a5c84a182f9218eeac383b3
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "objects" : [
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "name" : "user",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "onCreate" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "onDelete" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "schema" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "title" : "User",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "$schema" : "http://json-schema.org/draft-03/schema",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "order" : [
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "password",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userName",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "password",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "givenName",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "accountStatus",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "telephoneNumber",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "postalAddress",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "address2",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "postalCode",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "stateProvince",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "authzRoles",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "effectiveRoles",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "effectiveAssignments",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "properties" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : false,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "searchable" : false,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : false,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policies" : [
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policyId" : "cannot-contain-characters",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "params" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "forbiddenChars" : [
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "password" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "title" : "Password",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : false,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "searchable" : false,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "minLength" : 8,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "encryption" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "key" : "openidm-sym-default"
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "scope" : "private",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policies" : [
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policyId" : "at-least-X-capitals",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "params" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "numCaps" : 1
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policyId" : "at-least-X-numbers",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "params" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "numNums" : 1
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policyId" : "cannot-contain-others",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "params" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "disallowedFields" : [
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userName",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "givenName",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "policyId" : "re-auth-required",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "params" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "exceptRoles" : [
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "openidm-admin",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "openidm-reg",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "openidm-cert"
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "kbaInfo" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "array",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : false,
72e9ef1022a910facbd4a232500026befd944d95vboxsync "items" : {
72e9ef1022a910facbd4a232500026befd944d95vboxsync "type" : "object",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "properties" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "answer" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string"
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "customQuestion" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string"
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "questionId" : {
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "type" : "string"
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "title" : "Email Address",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "searchable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "pattern" : ".+@.+"
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "title" : "Last Name",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "searchable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : true
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "address2" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "type" : "string",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "title" : "Address 2",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "viewable" : true,
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "userEditable" : true
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "givenName" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "title" : "First Name",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "viewable" : true,
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "type" : "string",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "searchable" : true,
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "userEditable" : true
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "title" : "City",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "viewable" : true,
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "userEditable" : true
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "country" : {
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "type" : "string",
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "title" : "Country",
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "viewable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : true
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "postalCode" : {
c4b8dd273d2becff4145cf4c634b566e2dd633e6vboxsync "type" : "string",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "title" : "Postal Code",
72e9ef1022a910facbd4a232500026befd944d95vboxsync "viewable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "userEditable" : true
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "accountStatus" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "title" : "Status",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "viewable" : true,
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "string",
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "searchable" : true,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "userEditable" : false
7528d4a15800321b4013826ce35ad184898dba21vboxsync "roles" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "description" : "",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "title" : "Provisioning Roles",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "viewable" : true,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "userEditable" : false,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "returnByDefault" : false,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "array",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "items" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "relationship",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "validate": true,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "reverseRelationship" : true,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "reversePropertyName" : "members",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "properties" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "string"
7528d4a15800321b4013826ce35ad184898dba21vboxsync "_refProperties" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "object",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "properties" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "string"
7528d4a15800321b4013826ce35ad184898dba21vboxsync "resourceCollection" : [
7528d4a15800321b4013826ce35ad184898dba21vboxsync "label": "Role",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "query" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "queryFilter" : "true",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "fields" : [
7528d4a15800321b4013826ce35ad184898dba21vboxsync "sortKeys" : [
7528d4a15800321b4013826ce35ad184898dba21vboxsync "authzRoles" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "description" : "",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "title" : "Authorization Roles",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "viewable" : true,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "array",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "userEditable" : false,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "returnByDefault" : false,
7528d4a15800321b4013826ce35ad184898dba21vboxsync "items" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "relationship",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "properties" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "string"
7528d4a15800321b4013826ce35ad184898dba21vboxsync "_refProperties" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "object",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "properties" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "type" : "string"
7528d4a15800321b4013826ce35ad184898dba21vboxsync "resourceCollection" : [
7528d4a15800321b4013826ce35ad184898dba21vboxsync "label": "Internal Role",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "query" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "queryFilter" : "true",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "fields" : [
7528d4a15800321b4013826ce35ad184898dba21vboxsync "description"
7528d4a15800321b4013826ce35ad184898dba21vboxsync "sortKeys" : [
7528d4a15800321b4013826ce35ad184898dba21vboxsync "label": "Role",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "query" : {
7528d4a15800321b4013826ce35ad184898dba21vboxsync "queryFilter" : "true",
7528d4a15800321b4013826ce35ad184898dba21vboxsync "fields" : [
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "sortKeys" : [
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "reports" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "description" : "",
8541678784dbe432feebe6d9c1528525e1771397vboxsync "title" : "Direct Reports",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "viewable" : true,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "userEditable" : false,
8541678784dbe432feebe6d9c1528525e1771397vboxsync "type" : "array",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "returnByDefault" : false,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "items" : {
8541678784dbe432feebe6d9c1528525e1771397vboxsync "type" : "relationship",
8541678784dbe432feebe6d9c1528525e1771397vboxsync "validate" : true,
8541678784dbe432feebe6d9c1528525e1771397vboxsync "reverseRelationship" : true,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "reversePropertyName" : "manager",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "properties" : {
8541678784dbe432feebe6d9c1528525e1771397vboxsync "type" : "string"
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "_refProperties" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "type" : "object",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "properties" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "type" : "string"
c6383709c15c809f8cfb09b5cfe670760f06e2b9vboxsync "resourceCollection" : [
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "label" : "User",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "query" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "queryFilter" : "true",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "fields" : [
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "userName",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "givenName",
c6383709c15c809f8cfb09b5cfe670760f06e2b9vboxsync "sortKeys" : [
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "effectiveRoles" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "type" : "array",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "title" : "Effective Roles",
c6383709c15c809f8cfb09b5cfe670760f06e2b9vboxsync "viewable" : false,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "returnByDefault" : true,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "isVirtual" : true,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "onRetrieve" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "rolesPropName" : "roles"
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "items" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "type" : "object"
c6383709c15c809f8cfb09b5cfe670760f06e2b9vboxsync "effectiveAssignments" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "type" : "array",
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "title" : "Effective Assignments",
c6383709c15c809f8cfb09b5cfe670760f06e2b9vboxsync "viewable" : false,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "returnByDefault" : true,
c6383709c15c809f8cfb09b5cfe670760f06e2b9vboxsync "isVirtual" : true,
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "onRetrieve" : {
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "effectiveRolesPropName" : "effectiveRoles"
f372af8e6ee2a011213b11cc69f4a29530ff7ce5vboxsync "items" : {
917f4ee9f101c9786cf09ea0fe7923a7f6dfe40cvboxsync "type" : "object"
"title" : "State/Province",
"path" : "managed/user",
"type" : "text/javascript",
"file" : "roles/onDelete-roles.js"
"$schema" : "http://forgerock.org/json-schema#",
"path" : "managed/user",
"path" : "managed/assignment",
"type" : "text/javascript",
"source" : "require('roles/onSync-assignments').syncUsersOfRolesWithAssignment(resourceName, oldObject, newObject, ['roles']);"
"$schema" : "http://forgerock.org/json-schema#",
"path" : "managed/role",