mirror of
https://github.com/google/nomulus
synced 2026-05-03 06:16:04 +00:00
Decouple superuser from SessionMetadata
Superuser should only be settable via the tool (see [] which is merged in here but not diffbased, and which removes the implicit superuser for CharlestonRoad). It is a property of the request, not of the session (there are no sessions in the tool). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125204707
This commit is contained in:
@@ -80,7 +80,6 @@ public class CheckApiAction implements Runnable {
|
||||
private final StatelessRequestSessionMetadata sessionMetadata =
|
||||
new StatelessRequestSessionMetadata(
|
||||
RegistryEnvironment.get().config().getCheckApiServletRegistrarClientId(),
|
||||
false,
|
||||
ImmutableSet.of(FEE_0_6.getUri()),
|
||||
SessionSource.HTTP);
|
||||
|
||||
@@ -121,6 +120,7 @@ public class CheckApiAction implements Runnable {
|
||||
sessionMetadata,
|
||||
new PasswordOnlyTransportCredentials(),
|
||||
false,
|
||||
false,
|
||||
inputXmlBytes,
|
||||
null,
|
||||
clock)
|
||||
|
||||
Reference in New Issue
Block a user