Skip to content

Commit ad5d33b

Browse files
committed
Updated comment
1 parent 7a1beab commit ad5d33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/uid2/operator/vertx/UIDOperatorVerticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public void handleKeysSharing(RoutingContext rc) {
282282
final List<EncryptionKey> keyStore = getEncryptionKeys();
283283

284284
MissingAclMode mode = MissingAclMode.DENY_ALL;
285-
// This will break if another Type is added to this map
285+
// This casting will break if another Type is added to Role enum and shared lib version is not updated
286286
IRoleAuthorizable<Role> roleAuthorize = (IRoleAuthorizable<Role>) rc.data().get(API_CLIENT_PROP);
287287
if(roleAuthorize.hasRole(Role.ID_READER)) {
288288
mode = MissingAclMode.ALLOW_ALL;

0 commit comments

Comments
 (0)