hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
Apache License 2.0
205 stars 265 forks source link

[FEATURE] Develop Roles and Permissions Page with Toggle Switches for Managing Permissions- Admin Dashboard #74

Closed SilverBeing closed 2 weeks ago

SilverBeing commented 1 month ago

Develop a roles and permissions page that displays a list of all created roles. When an admin clicks on a role, it should open a detailed view of the permissions associated with that role. The permissions should be managed through toggle switches, where an active switch indicates the role has that permission enabled. Integrate with backend API endpoints to fetch roles and update permissions.

Purpose Admins should be able to view all created roles and manage the permissions for each role through a collection of toggle switches. This functionality will provide a clear and organized way to manage roles and their respective permissions.

Requirements

Tasks

Note

Images and Figma links https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=118-44194&m=dev Screenshot 2024-07-17 160525

CollinXon commented 1 month ago

I can't find the design of the figma link anymore. Please what happened