Skip to content

Update session scope setting to use the useUser composable #3

@rtibbles

Description

@rtibbles

Currently we are directly accessing Vuex state to get user information, but this is an implicit API that is deprecated and will be removed in the near future.

The currently approved way to access this information is with the useUser composable from the Kolibri Public JS API: https://github.com/learningequality/kolibri/blob/develop/packages/kolibri/composables/useUser.js

We should get all the relevant information from here, and watch for updates to the current user id in order to trigger an update of the Sentry scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions