Feature Request P2
Status Update
Comments
pv...@google.com <pv...@google.com> #2
I have forwarded this request to the engineering team. We will update this issue with any progress updates and a resolution.
Best Regards,
Josh Moyer
Google Cloud Platform Support
Best Regards,
Josh Moyer
Google Cloud Platform Support
ml...@google.com <ml...@google.com>
[Deleted User] <[Deleted User]> #3
This is not only useful for IP addresses, but also for many other resources. I understand that names are currently used as identifiers, so this request is probably not trivial to implement. Maybe distinguishing between a (numeric, automatically generated) identifier and a (textual) label is the way to go?
Description
Using the OAuthService to check the value throws an InvalidOAuthTokenException.
Workaround:
GetOAuthUserResponse oAuthResponse = (GetOAuthUserResponse) environment.getAttributes().get("com.google.appengine.api.oauth.OAuthService.get_oauth_user_response");
return oAuthResponse.isIsAdmin();
This succeeds, but it seems reasonable that there'd be a more ideal way.