GUACAMOLE-360: Fix comment typo.
This commit is contained in:
1 parent
77da5f5ac5
commit
d2b40e4904
1 file changed
+1
-1
+1
-1
@@ -96,7 +96,7 @@ public class ActiveConnectionPermissionService
|
|||||||
String identifier = record.getUUID().toString();
|
String identifier = record.getUUID().toString();
|
||||||
permissions.add(new ObjectPermission(ObjectPermission.Type.READ, identifier));
|
permissions.add(new ObjectPermission(ObjectPermission.Type.READ, identifier));
|
||||||
|
|
||||||
// If we're and admin, or the connection is ours, then we also have DELETE
|
// If we're an admin, or the connection is ours, then we can DELETE
|
||||||
if (isAdmin || targetUser.getIdentifier().equals(record.getUsername()))
|
if (isAdmin || targetUser.getIdentifier().equals(record.getUsername()))
|
||||||
permissions.add(new ObjectPermission(ObjectPermission.Type.DELETE, identifier));
|
permissions.add(new ObjectPermission(ObjectPermission.Type.DELETE, identifier));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user