From 3af8396613fcaaf7c033f8844016e393d856e8ad Mon Sep 17 00:00:00 2001 From: Christian Hovenbitzer Date: Mon, 9 Oct 2023 21:30:55 +0200 Subject: [PATCH] Added Inherent Permission check on Rule0015 --- Design/Rule0015PermissionSetCoverage.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Design/Rule0015PermissionSetCoverage.cs b/Design/Rule0015PermissionSetCoverage.cs index 50e122e5..1588d292 100644 --- a/Design/Rule0015PermissionSetCoverage.cs +++ b/Design/Rule0015PermissionSetCoverage.cs @@ -48,6 +48,8 @@ private void CheckPermissionSetCoverage(SymbolAnalysisContext context) continue; } + if(appObjTypeSymbol.Properties.Where(currentProperty => currentProperty.PropertyKind == PropertyKind.InherentPermissions).Any()) continue; + switch (appObjTypeSymbol.NavTypeKind) { case NavTypeKind.Codeunit: