We're updating the issue view to help you get more done. 

storage_manager - consistent usage wrt. request context

Description

Currently the storage_manager can be used outside of request context for some calls (eg. get), but not for others (eg. list). This is because it tries to automatically add a filter based on the current user in list, which of course fails if there's no user.

Instead, we can allow using the storage_manager with no request context, by simply not adding the filter if not called from a request handler.

This will allow easier using the storage_manager from code that doesn't run inside a request handler, eg. cluster validations/handlers, and in the future the admin CLI.

Status

Assignee

Łukasz Maksymczuk

Reporter

Łukasz Maksymczuk

Labels

None

Severity

None

Bug Type

None

Target Version

None

Severity

None

Sprint

None

Fix versions