StoreBlobObject

Metadata

  • Message Type: TransactionMessage
  • Message Number: 8021

Inherited fields

NameTypeSize (bytes)Description
MessageTypeInteger (unsigned)2The unique identifier of this message.
ClientIdInteger (unsigned)4The unique identifier of a session with the server, returned in a successful LoginReply message.
RequestIdInteger (unsigned)4Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session.

Fields

NameTypeSize (bytes)Description
IdForeign key to BlobObject8
NameString48The long text identifier of this StoreBlobObject.
ObjectTypeString24The short text identifier of this StoreBlobObject.
BlobString10240
VersionInteger (unsigned)4
OwnerUserForeign key to User8
OwnerGroupForeign key to Group8
OwnerFirmForeign key to Firm8

Permissions


Store Blob Object with Private Visibility

{
	name: "SomeGivenName1",
	objecttype: "workspace",
	blob: "kajdhf84tasdjf",
	owneruser: "test-user",
}

Permission Checks

PermissionActionTableScopeIndex
CreateBlobObjectUser

Test file: StoreBlobObject


Store Blob Object with Frim-level Visibility

{
	name: "SomeGivenName2",
	objecttype: "workspace",
	blob: "kajdhf84tasdjg",
	ownerfirm: "test-firm",
}

Permission Checks

PermissionActionTableScopeIndex
CreateBlobObjectFirm

Test file: StoreBlobObject_firm


Store Blob Object with Group-level Visibility

{
	name: "SomeGivenName3",
	objecttype: "workspace",
	blob: "kajdhf84tasdjh",
	ownergroup: "test-group",
}

Permission Checks

PermissionActionTableScopeIndex
CreateBlobObjectFirm

Test file: StoreBlobObject_group


Store Blob Object with Public Visibility

{
	name: "SomeGivenName4",
	objecttype: "workspace",
	blob: "kajdhf84tasdji",
}

Permission Checks

PermissionActionTableScopeIndex
CreateBlobObjectAll

Test file: StoreBlobObject_public