Skip to content

Provide/Inject pattern for permissions & currentUser #1924

@Slessi

Description

@Slessi

Currently currentUser and permissions are handled imperatively and in a coupled way with their consumers. This makes it hard to test & write stories.

Instead we can refactor them to a provider/injector pattern which can make them easily mocked with mock providers, and allows us to hook into the vue life cycle.

Metadata

Metadata

Assignees

Labels

UIUI heavy tasks

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions