Skip to content

ListObjectsV2: Server uses *_OWNER_NAME GenQuery columns to report ownership #225

@korydraughn

Description

@korydraughn

COLL_OWNER_NAME and DATA_OWNER_NAME are GenQuery1 columns which should not be used for ownership-related activities. The ListObjectsV2 implementation needs to find an owner based on the actual permissions.

"select COLL_NAME, DATA_NAME, DATA_OWNER_NAME, DATA_SIZE, DATA_MODIFY_TIME where COLL_NAME = '{}'",

"select COLL_NAME, COLL_OWNER_NAME, COLL_MODIFY_TIME where COLL_NAME = '{}'",

"select COLL_NAME, DATA_NAME, DATA_OWNER_NAME, DATA_SIZE, DATA_MODIFY_TIME where COLL_NAME like '{}%'",

"select COLL_NAME, DATA_NAME, DATA_OWNER_NAME, DATA_SIZE, DATA_MODIFY_TIME where COLL_NAME = '{}'"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions