StoreBlobObject
- Message Type: TransactionMessage
- Message Number: 8021
Inherited fields
| Name | Type | Size (bytes) | Description |
|---|
| MessageType | Integer (unsigned) | 2 | The unique identifier of this message.
|
| ClientId | Integer (unsigned) | 4 | The unique identifier of a session with the server, returned in a successful LoginReply message.
|
| RequestId | Integer (unsigned) | 4 | Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session.
|
Fields
| Name | Type | Size (bytes) | Description |
|---|
| Id | Foreign key to BlobObject | 8 | |
| Name | String | 48 | The long text identifier of this StoreBlobObject.
|
| ObjectType | String | 24 | The short text identifier of this StoreBlobObject.
|
| Blob | String | 10240 | |
| Version | Integer (unsigned) | 4 | |
| OwnerUser | Foreign key to User | 8 | |
| OwnerGroup | Foreign key to Group | 8 | |
| OwnerFirm | Foreign key to Firm | 8 | |
Permissions
Store Blob Object with Private Visibility
{
name: "SomeGivenName1",
objecttype: "workspace",
blob: "kajdhf84tasdjf",
owneruser: "test-user",
}
Permission Checks
| PermissionAction | Table | Scope | Index |
|---|
| Create | BlobObject | User | |
Test file: StoreBlobObject
Store Blob Object with Frim-level Visibility
{
name: "SomeGivenName2",
objecttype: "workspace",
blob: "kajdhf84tasdjg",
ownerfirm: "test-firm",
}
Permission Checks
| PermissionAction | Table | Scope | Index |
|---|
| Create | BlobObject | Firm | |
Test file: StoreBlobObject_firm
Store Blob Object with Group-level Visibility
{
name: "SomeGivenName3",
objecttype: "workspace",
blob: "kajdhf84tasdjh",
ownergroup: "test-group",
}
Permission Checks
| PermissionAction | Table | Scope | Index |
|---|
| Create | BlobObject | Firm | |
Test file: StoreBlobObject_group
Store Blob Object with Public Visibility
{
name: "SomeGivenName4",
objecttype: "workspace",
blob: "kajdhf84tasdji",
}
Permission Checks
| PermissionAction | Table | Scope | Index |
|---|
| Create | BlobObject | All | |
Test file: StoreBlobObject_public