Commit c42edc89 authored by Matija Obreza's avatar Matija Obreza

FIX: SidPermissions are properly converted for authority (role) SIDs

parent bd784bcf
...@@ -71,7 +71,7 @@ public class SidPermissions extends Permissions { ...@@ -71,7 +71,7 @@ public class SidPermissions extends Permissions {
for (final AclEntry entry : aclEntries) { for (final AclEntry entry : aclEntries) {
// find existing entry // find existing entry
SidPermissions permission = converted.stream().filter(p -> entry.getAclSid().equals(p.sid)).findFirst().orElse(null); SidPermissions permission = converted.stream().filter(p -> entry.getAclSid().getId().equals(p.sid.getId())).findFirst().orElse(null);
// or make one // or make one
if (permission == null) { if (permission == null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment