mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
After this CL, "support" accounts (accounts that are part of the "support" G-Suite group) will the same access to the registrar console as GCP "admins". However, they don't won't have access to the GCP project itself. We could give them their own Role in the future (say SUPPORT) and give them different access than "admins", but right now we don't need it and YAGNI or something :) NOTE: we identify users by their email (they need to be logged in to a google account). I don't know if that's best practice, since I guess different google accounts might have the same email address. However, G-Suite groups' membership is by email so there's not much we can do about it if we want to use G-Suite groups. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220804273
50 lines
1.7 KiB
Text
50 lines
1.7 KiB
Text
package(
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
java_library(
|
|
name = "frontend",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/google/registry/config",
|
|
"//java/google/registry/dns",
|
|
"//java/google/registry/flows",
|
|
"//java/google/registry/groups",
|
|
"//java/google/registry/keyring",
|
|
"//java/google/registry/keyring/api",
|
|
"//java/google/registry/keyring/kms",
|
|
"//java/google/registry/module",
|
|
"//java/google/registry/monitoring/whitebox",
|
|
"//java/google/registry/request",
|
|
"//java/google/registry/request:modules",
|
|
"//java/google/registry/request/auth",
|
|
"//java/google/registry/ui",
|
|
"//java/google/registry/ui/server/registrar",
|
|
"//java/google/registry/util",
|
|
"@com_google_appengine_api_1_0_sdk",
|
|
"@com_google_code_findbugs_jsr305",
|
|
"@com_google_dagger",
|
|
"@com_google_flogger",
|
|
"@com_google_flogger_system_backend",
|
|
"@com_google_monitoring_client_metrics",
|
|
"@javax_inject",
|
|
"@javax_servlet_api",
|
|
"@joda_time",
|
|
"@org_bouncycastle_bcpkix_jdk15on",
|
|
],
|
|
)
|
|
|
|
# This rule is used so bazel can generate "frontend_jar_deploy.jar" (which
|
|
# contains transitive dependencies) for deployment to App Engine. It MUST
|
|
# explicitly depend upon upon anything loaded at runtime, e.g. old servlets
|
|
# referenced by the module's web.xml file, that isn't statically linked above.
|
|
java_binary(
|
|
name = "frontend_jar",
|
|
create_executable = 0,
|
|
runtime_deps = [
|
|
":frontend",
|
|
"//java/google/registry/ui/server/registrar", # ResourceServlet
|
|
],
|
|
)
|