google-nomulus/java/google/registry/ui
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
..
assets Upgrade Nomulus to latest Closure Rules 2016-12-06 11:52:46 -05:00
css Fix missing commas/ambiguous newline in CSS 2017-11-07 17:10:02 -05:00
epptmpl mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
externs Incorporate some of the fixes done in RegistrarPremiumPriceAckAction 2018-04-10 16:54:51 -04:00
forms Use java-8 functionals in FormFields 2018-04-23 14:56:18 -04:00
html Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
js Replace registrar-premium-price-ack with registrar-settings 2018-04-23 14:22:18 -04:00
server Fix admin access to registryAdminClientId when they aren't associated with it 2018-06-18 18:04:56 -04:00
soy Redirect Registrar.referralUrl UI actions to url field 2018-05-17 21:52:35 -04:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
compile_test.js Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
conformance_proto.txt mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
ConsoleConfigModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ConsoleDebug.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
globals.txt Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00