feat(rbac): put back condition matcher for workspace permission check and added migration function

This commit is contained in:
Akhil Mohan
2023-09-08 21:22:36 +05:30
parent c91a93ef2a
commit 38c044f9a7
4 changed files with 38 additions and 29 deletions
@@ -81,7 +81,7 @@ export const SecretOverviewPage = () => {
const workspaceId = currentWorkspace?._id as string;
const { data: latestFileKey } = useGetUserWsKey(workspaceId);
const [searchFilter, setSearchFilter] = useState("");
const secretPath = router.query?.secretPath as string;
const secretPath = (router.query?.secretPath as string) || "/";
const permission = useProjectPermission();
useEffect(() => {