From afd06650175e3d5043408d92061b3fcd98d724a9 Mon Sep 17 00:00:00 2001 From: Sven Thiel Date: Fri, 22 Dec 2023 17:47:06 +0100 Subject: [PATCH] #1456 sorry for the unnecessary changes - stupido --- .../Authorization/FeaturePermissionManager.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Components/AAA/BExIS.Security.Services/Authorization/FeaturePermissionManager.cs b/Components/AAA/BExIS.Security.Services/Authorization/FeaturePermissionManager.cs index 20f7272adc..5c2cf2fa85 100644 --- a/Components/AAA/BExIS.Security.Services/Authorization/FeaturePermissionManager.cs +++ b/Components/AAA/BExIS.Security.Services/Authorization/FeaturePermissionManager.cs @@ -276,12 +276,9 @@ public bool HasAccess(long? subjectId, long featureId) } } - public Dictionary GetAccessList(IEnumerable subjects, long featureId) + public Dictionary GetAccessList(IEnumerable subjects, long featureId) { - Dictionary accessDictionary = new Dictionary(); - - // check anonymous rights - accessDictionary.Add(null, HasAccess(null, featureId)); + Dictionary accessDictionary = new Dictionary(); // check user rights foreach (var subject in subjects)