Update permission logic

This commit is contained in:
Tuan Dang
2025-04-08 18:45:16 -07:00
parent 728c3f56a7
commit 20ebfcefaa
11 changed files with 109 additions and 63 deletions
@@ -133,7 +133,7 @@ export const ProjectLayout = () => {
</MenuItem>
)}
</Link>
<Link
{/* <Link
to={`/${ProjectType.SSH}/$projectId/certificates` as const}
params={{
projectId: currentWorkspace.id
@@ -144,8 +144,8 @@ export const ProjectLayout = () => {
Certificates
</MenuItem>
)}
</Link>
<Link
</Link> */}
{/* <Link
to={`/${ProjectType.SSH}/$projectId/cas` as const}
params={{
projectId: currentWorkspace.id
@@ -160,7 +160,7 @@ export const ProjectLayout = () => {
Certificate Authorities
</MenuItem>
)}
</Link>
</Link> */}
</>
)}
{isSecretManager && (