Skip to content

Commit

Permalink
#1456 sorry for the unnecessary changes - stupido
Browse files Browse the repository at this point in the history
  • Loading branch information
sventhiel committed Dec 22, 2023
1 parent 013f077 commit afd0665
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,9 @@ public bool HasAccess(long? subjectId, long featureId)
}
}

public Dictionary<long?, bool> GetAccessList(IEnumerable<Subject> subjects, long featureId)
public Dictionary<long, bool> GetAccessList(IEnumerable<Subject> subjects, long featureId)
{
Dictionary<long?, bool> accessDictionary = new Dictionary<long?, bool>();

// check anonymous rights
accessDictionary.Add(null, HasAccess(null, featureId));
Dictionary<long, bool> accessDictionary = new Dictionary<long, bool>();

// check user rights
foreach (var subject in subjects)
Expand Down

0 comments on commit afd0665

Please sign in to comment.