UserDetailDto
User detail DTO with sharing tag grants (for single user view)
createdAtstring<date-time>required
Account creation timestamp
Example:
2024-01-01T00:00:00Zemailstringrequired
User email address
Example:
john.doe@example.comidstring<uuid>required
Unique user identifier
Example:
550e8400-e29b-41d4-a716-446655440000isActivebooleanrequired
Whether the account is active
Example:
truelastLoginAtstring,null<date-time>nullable
Timestamp of last login
Example:
2024-01-15T10:30:00Zpermissionsstring[]required
Custom permissions that extend the role's base permissions
roleUserRole (string)required
User role (reader, maintainer, admin)
Possible values: [reader, maintainer, admin]
sharingTags object[]required
Sharing tag grants for this user
Array [
accessModeAccessMode (string)required
Access mode: allow or deny
Possible values: [allow, deny]
createdAtstring<date-time>required
Grant creation timestamp
Example:
2024-01-01T00:00:00Zidstring<uuid>required
Unique grant identifier
Example:
550e8400-e29b-41d4-a716-446655440000sharingTagIdstring<uuid>required
Sharing tag ID
Example:
660e8400-e29b-41d4-a716-446655440000sharingTagNamestringrequired
Sharing tag name
Example:
Kids Content]
updatedAtstring<date-time>required
Last account update timestamp
Example:
2024-01-15T10:30:00Zusernamestringrequired
Username for login
Example:
johndoeUserDetailDto
{
"createdAt": "2024-01-01T00:00:00Z",
"email": "john.doe@example.com",
"id": "550e8400-e29b-41d4-a716-446655440000",
"isActive": true,
"lastLoginAt": "2024-01-15T10:30:00Z",
"permissions": [
"string"
],
"role": "reader",
"sharingTags": [
{
"accessMode": "allow",
"createdAt": "2024-01-01T00:00:00Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"sharingTagId": "660e8400-e29b-41d4-a716-446655440000",
"sharingTagName": "Kids Content"
}
],
"updatedAt": "2024-01-15T10:30:00Z",
"username": "johndoe"
}