We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f84642 commit 32b09f5Copy full SHA for 32b09f5
app/config/utils.ts
@@ -1,17 +1,5 @@
1
import { SelectCategoryValue } from "@databiosphere/findable-ui/lib/common/entities";
2
3
-/**
4
- * Returns true if consent groups include NRES or Unrestricted access.
5
- * @param consentGroups - Array of consent group strings.
6
- * @returns true if NRES or Unrestricted access is present.
7
- */
8
-export function hasNRESOrUnrestrictedAccess(consentGroups: string[]): boolean {
9
- return (
10
- consentGroups.includes("NRES") ||
11
- consentGroups.includes("Unrestricted access")
12
- );
13
-}
14
-
15
/**
16
* Returns true if the current environment is production.
17
* Determined by checking if NEXT_PUBLIC_SITE_CONFIG ends with "-prod".
0 commit comments