Skip to content

object_opearation_handler.go: rx_pay in Downloadfile plus others #236

@Sriep

Description

@Sriep

some problems with object_operation_handler.go.

  1. DownloadFile: The rx_pay is used to indicate that a read action down using an auth ticket is paid by the client not the allocation owner. It is not used for collaborators. Currently, this is round the wrong way.
  2. DownloadFile: WhoPaysForReads should not effect users using auth tickets.
  3. GetFileMeta does not validate check for collaborator or owner.
  4. GetFileStats neither collaborator nor auth ticket holder can get file stats.
  5. There should also be unit tests for this file.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmainnet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions