Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Database Name | Database Type | Collection Name |
---|
%tenant_code%_urac | MongoDB | users |
Record Explanation
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
_id | Mongo ID | YES | YES | YES | Mongo Record ID |
username | String | YES | YES | YES | The UserName |
password | Hash | YES | NO | NO | The User Password |
firstName | String | YES | NO | NO | The User First Name |
lastName | String | YES | NO | NO | The User Last Name |
email | String | YES | YES | YES | The User Email |
status | String | YES | NO | NO | The User Status pendingNew or active |
profile | Object | NO | NO | NO | Additional User Info. |
config | Object | NO | NO | NO |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
allowedTenants | Array | NO | NO | NO | Sub tenant access | keys | Object | YES | NO | NO | Overridden ACL Keys | packages | Object | NO | NO | NO | Overridden ACL Packages |
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
%packageName% | Object | NO | NO | NO |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
acl | Object | NO | NO | NO |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
access | Boolean or Array | NO | NO | NO |
| apisPermission | String | NO | NO | NO |
| apis | Object | NO | NO | NO |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
%apiRoute% | Object | YES | NO | NO |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
access | Object | NO | NO | NO |
|
|
|
|
|
|
|
tenant | Object | YES | NO | NO |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
id | String | YES | NO | NO | Tenant ID | code | String | YES | NO | NO | Tenant Code |
|
groups | Array | YES | NO | NO | Array Of Group Codes |
ts | Time stamp | YES | NO | NO | record created timestamp |
Sample
var data = {
"_id": ObjectId("5d308c68687aaf05b1c24097"),
"locked": true,
"username": "owner",
"password": "$2a$12$geJJfv33wkYIXEAlDkeeuOgiQ6y6MjP/YxbqLdHdDSK7LDG.7n7Pq",
"firstName": "owner",
"lastName": "owner",
"email": "me@localhost.com",
"ts": Double(1563462760715.0),
"status": "active",
"profile": {},
"groups": [
"owner"
],
"config": {
"packages": {},
"keys": {}
},
"tenant": {
"id": "5c0e74ba9acc3c5a84a51259",
"code": "DBTN"
},
"lastLogin": Double(1564068005777.0)
};
Add Comment