mirror of
https://github.com/google/nomulus.git
synced 2025-05-18 10:19:41 +02:00
Change UserPolicy to PUBLIC on WHOIS and EPP endpoints
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193407195
This commit is contained in:
parent
77bfa5f4b8
commit
f289259101
8 changed files with 15 additions and 32 deletions
|
@ -56,6 +56,17 @@ public enum Auth {
|
|||
AuthLevel.USER,
|
||||
UserPolicy.PUBLIC),
|
||||
|
||||
/**
|
||||
* Allows anyone access, as long as they use OAuth to authenticate.
|
||||
*
|
||||
* Also allows access from App Engine task-queue. Note that OAuth client ID still needs to be
|
||||
* whitelisted in the config file for OAuth-based authentication to succeed.
|
||||
*/
|
||||
AUTH_PUBLIC_OR_INTERNAL(
|
||||
ImmutableList.of(AuthMethod.INTERNAL, AuthMethod.API),
|
||||
AuthLevel.APP,
|
||||
UserPolicy.PUBLIC),
|
||||
|
||||
/**
|
||||
* Allows only admins or App Engine task-queue access.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue