MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / checkMdmCompliance

Method checkMdmCompliance

src/core/webview/ClineProvider.ts:2874–2886  ·  view source on GitHub ↗

* Check if the current state is compliant with MDM policy * @returns true if compliant or no MDM policy exists, false if MDM policy exists and user is non-compliant

()

Source from the content-addressed store, hash-verified

2872 * @returns true if compliant or no MDM policy exists, false if MDM policy exists and user is non-compliant
2873 */
2874 public checkMdmCompliance(): boolean {
2875 if (!this.mdmService) {
2876 return true // No MDM service, allow operation
2877 }
2878
2879 const compliance = this.mdmService.isCompliant()
2880
2881 if (!compliance.compliant) {
2882 return false
2883 }
2884
2885 return true
2886 }
2887
2888 /**
2889 * Gets the CodeIndexManager for the current active workspace

Callers

nothing calls this directly

Calls 1

isCompliantMethod · 0.80

Tested by

no test coverage detected