Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 5, 2022
1 parent 78fdd3c commit 8b36441
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ public Future<Boolean> validateToken(

String ns;
if (SecurityContext.DEFAULT.equals(securityContext)) {
// FIXME should this be the deployment namespace or just no namespace? Should those be
// two separate contexts?
// TODO does this make sense? Operations that use the DEFAULT security context are
// considered to be operations within the namespace that Cryostat is deployed within.
// This means that the requesting client must have some permissions to access Cryostat
// itself.
ns = namespace.get();
} else {
ns = ((OpenShiftSecurityContext) securityContext).getNamespace();
Expand Down

0 comments on commit 8b36441

Please sign in to comment.