google-nomulus/javatests/google/registry
guyben a3a60075a0 Hide the edit/add buttons for fields the user can't update
Currently the /registrar-settings backend endpoint will fail to update any
OWNER fields that a non-OWNER tries to change.

However, the front-end (soy, js) still allow non-OWNERs to try and change
these fields (there's the "edit" or "add" button, and it only fails when you try to "save")

This CL changes the front-end to remove the ability for non-OWNERs to even try
and change these fields. However, it will still let them *view* these fields as
it has interesting and important information.

-------------------------------

In addition - it changes the webdriver tests to include the "edit buttons". Those were never tested before, and now we will test to see if they are indeed displayed or not.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=223845883
2018-12-03 19:25:05 -05:00
..
backup Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
batch Delete the verify entity integrity mapreduce 2018-09-20 11:19:36 -04:00
beam Make BillingModule.OVERALL_INVOICE_PREFIX configurable 2018-11-16 17:00:38 -05:00
bigquery Use @DefaultCredential for Cloud API access in GAE 2018-09-20 11:19:36 -04:00
builddefs Format .bzl files with buildifier 2018-07-14 01:37:03 -04:00
config Move YamlUtils to be under google.registry.util package 2018-11-14 12:00:45 -05:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
export Use proper external dependency references recognized by moe 2018-11-16 17:03:50 -05:00
flows Move more lifecycle test helper methods to base class 2018-12-03 19:21:52 -05:00
groups Add support G-Suite group whose members have ADMIN access to registrar console 2018-11-12 14:51:40 -05:00
keyring Expose the functionality to decrypt given data using keyring 2018-12-03 19:05:59 -05:00
mapreduce/inputs Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
model Explicitly set the shard size when saving the claims list 2018-10-22 19:13:11 -04:00
module Make DownloadServiceAccountCredentialAction only accept internal auth 2018-12-03 19:20:18 -05:00
monitoring/whitebox Stop exporting EPP flow metrics to BigQuery 2018-10-08 16:59:29 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Fix EPP quota handling bug 2018-10-17 11:56:04 -04:00
rdap Move AuthenticatedRegistrarAccessor to request/auth/ 2018-11-16 16:54:21 -05:00
rde Refactor StringGenerator bindings 2018-10-22 19:06:35 -04:00
reporting Make BillingModule.OVERALL_INVOICE_PREFIX configurable 2018-11-16 17:00:38 -05:00
request Allow only OWNERs to change owner-related data on registrar console 2018-12-03 18:56:28 -05:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
server Delete all Braintree code 2018-07-14 01:37:03 -04:00
storage/drive Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
testing Expose the functionality to decrypt given data using keyring 2018-12-03 19:05:59 -05:00
tldconfig/idn Remove the use of InjectRule in IdnLabelValidatorTest 2018-10-22 18:54:53 -04:00
tmch Refactor TmchCertificateAuthority 2018-10-25 14:40:38 -04:00
tools Fix --content-type and --data inputs in curl command 2018-12-03 19:15:33 -05:00
ui Hide the edit/add buttons for fields the user can't update 2018-12-03 19:25:05 -05:00
util Move YamlUtils to be under google.registry.util package 2018-11-14 12:00:45 -05:00
whois Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
xjc Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
xml Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00