Closed ejiang25 closed 1 year ago
Sorry but forgot to spot this here, can you hide this save button if a user doesn't have a "Manage roles" perm too?
yeah everything looks good, works perfectly fine, just change the import directories so it is relative path please.
Closes: [#129 ]
What was done: Added a condition for rendering certain components that require specific permissions.
How to test: Create roles with certain perms and check components don't render correctly
Screenshots of UI changes (optional):