Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (40 sloc) 690 Bytes
{
"name": "UserIdentity",
"plural": "UserIdentities",
"base": "PersistedModel",
"properties": {
"provider": {
"type": "String"
},
"externalId": {
"type": "String"
},
"profile": {
"type": "Object"
},
"credentials": {
"type": "Object"
}
},
"validations": [],
"relations": {
"user": {
"type": "belongsTo",
"model": "MyUser",
"foreignKey": "userId"
}
},
"acls": [
{
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "DENY"
},
{
"principalType": "ROLE",
"principalId": "$owner",
"permission": "ALLOW"
}
],
"methods": {}
}