allow admin to access orgSetting page
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ function App() {
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
<Route path="/owner/settings" element={
|
||||
<ProtectedRoute allowedRoles={['OWNER']}>
|
||||
<ProtectedRoute allowedRoles={['OWNER','ADMIN']}>
|
||||
<OrgSettings />
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
|
||||
@@ -167,6 +167,7 @@ const Layout = () => {
|
||||
label: <span><span className="text-[#fda913]">Pro</span>Canvas</span>
|
||||
},
|
||||
{ to: "/admin/estimates", icon: Calculator, label: "Estimates" },
|
||||
{ to: "/owner/settings", icon: Settings, label: "Org Settings" },
|
||||
...commonItems,
|
||||
];
|
||||
case 'CONTRACTOR':
|
||||
|
||||
Reference in New Issue
Block a user