mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
chore: refactor to avoid dep cycle
This commit is contained in:
@@ -15,7 +15,7 @@ import { TSecretFolderWithPath } from "@app/hooks/api/secretFolders/types";
|
|||||||
import { hasSecretReadValueOrDescribePermission } from "@app/lib/fn/permission";
|
import { hasSecretReadValueOrDescribePermission } from "@app/lib/fn/permission";
|
||||||
|
|
||||||
import { PermissionAccess, PermissionNode } from "../types";
|
import { PermissionAccess, PermissionNode } from "../types";
|
||||||
import { TActionRuleMap } from ".";
|
import { TActionRuleMap } from "./getActionRuleMap";
|
||||||
|
|
||||||
const ACTION_MAP: Record<string, string[] | undefined> = {
|
const ACTION_MAP: Record<string, string[] | undefined> = {
|
||||||
[ProjectPermissionSub.Secrets]: [
|
[ProjectPermissionSub.Secrets]: [
|
||||||
|
|||||||
Reference in New Issue
Block a user