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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions