Skip to content

Task - RBAC AuthZ - Implement AuthZ Utils into frontend-base #150

@rodmgwgu

Description

@rodmgwgu

Implement reusable utils to query for permissions from openedx-authz on frontend MFEs.

The utils should include:

  • A hook to query for permissions (useUserPermissions), this hook should cache the query result to minimize calls to the backend.
  • Types for handling permissions
  • Documentation on how to use and best practices.

Most of this was already implemented directly into frontend-app-authoring, see: openedx/frontend-app-authoring#2685

This implementation should be extracted to frontend-base and be reused across MFEs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    verawoodReleased in Verawood

    Type

    No type

    Projects

    Status

    In Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions