Skip to content

Commit

Permalink
Added Inherent Permission check on Rule0015
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianHovenbitzer authored and StefanMaron committed Oct 10, 2023
1 parent 52baac6 commit 3af8396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Design/Rule0015PermissionSetCoverage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3af8396

Please sign in to comment.