feat: implement permission based UI rendering#81
Conversation
There was a problem hiding this comment.
Code Review
This pull request implements a role-based access control (RBAC) system using Redux Toolkit and React Query, introducing a centralized permissions framework with custom hooks and components. Authorization checks have been integrated across the Member, Event, Contact, and Project modules to secure pages and conditional UI elements. Feedback highlights a recurring issue where components fail to handle the isLoading state, potentially causing authorized users to see a brief 'Access Denied' flash. Additionally, improvements were suggested for the user experience in the Support and Member features to ensure that read-only states do not display misleading or non-functional UI elements.
|
@ManthanTerse Change's Required |
08a8d53 to
c5428e9
Compare
|
Hello @abhishek-nexgen-dev ! |
|
@ManthanTerse why you push code forcely |
|
Because like 1-2 project admins told me instead of committing, push force the changes using amend @abhishek-nexgen-dev. |
|
@ManthanTerse make sure the code must written in production grade arrage every things properly make different custom hook the code must me clean modern and easy to use
|
f6116c5 to
c564766
Compare
|
Hello @abhishek-nexgen-dev ! Please review it once! |
Related Issue
Closes #60
Overview
Implemented a permission-based UI rendering system to control access to UI actions based on user permissions.
Changes Made
useAuthorizationhookPermission Constants Added
Features
Testing