Skip to content

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

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

Labels

willowReleased in Willow

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Ready for review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions