mirror of
https://github.com/google/nomulus.git
synced 2025-05-07 15:28:22 +02:00
An admin that isn't associated with any clientId, will default to the registryAdminClientId. However, if we set the registryAdminClientId as the session's CLIENT_ID_ATTRIBUTE, the next time we access the server we have a client-id attribute we aren't associated with - which returns a "403 Registrar Console access revoked" error (the assumption is - we were associated with it before but aren't anymore) To fix this - we just add all admins as "hasAccessTo" registryAdminClientId, even if it's not in the contacts. This will let admins stay on the admin registrar, without affecting where they log-in initially if they are also contacts in different registrars. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200402856 |
||
---|---|---|
.. | ||
assets | ||
css | ||
epptmpl | ||
externs | ||
forms | ||
html | ||
js | ||
server | ||
soy | ||
BUILD | ||
compile_test.js | ||
conformance_proto.txt | ||
ConsoleConfigModule.java | ||
ConsoleDebug.java | ||
globals.txt | ||
package-info.java |