google-nomulus/java/google/registry/ui/server
guyben 2d4eeae26c Fix admin access to registryAdminClientId when they aren't associated with it
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
2018-06-18 18:04:56 -04:00
..
registrar Fix admin access to registryAdminClientId when they aren't associated with it 2018-06-18 18:04:56 -04:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarFormFields.java Redirect Registrar.referralUrl UI actions to url field 2018-05-17 21:52:35 -04:00
SoyTemplateUtils.java Remove references to SoySyntaxException 2018-02-20 15:37:48 -05:00
StateCode.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00