feat(rbac): changed withpermission hoc text and removed loading on overview pageg

This commit is contained in:
Akhil Mohan
2023-09-08 21:22:36 +05:30
parent 2f9b35b2f9
commit 8003273b2c
2 changed files with 6 additions and 4 deletions
@@ -43,10 +43,10 @@ export const withPermission = <T extends {}, J extends TOrgPermission>(
<FontAwesomeIcon icon={faLock} size="6x" />
</div>
<div>
<div className="text-4xl font-medium mb-2">Permission Denied</div>
<div className="text-4xl font-medium mb-2">Access Restricted</div>
<div className="text-sm">
You do not have permission to this page. <br /> Kindly contact your organization
administrator
Your role has limited permissions, please <br /> You do not have permission to this
page.
</div>
</div>
</div>