google-nomulus/java/google/registry/ui
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
..
assets/images Delete all Braintree code 2018-07-14 01:37:03 -04:00
css Hide the edit/add buttons for fields the user can't update 2018-12-03 19:25:05 -05:00
epptmpl mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
externs Add "Admin" tab to the registrar console 2018-11-12 14:51:40 -05: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 Hide the edit/add buttons for fields the user can't update 2018-12-03 19:25:05 -05:00
server Hide the edit/add buttons for fields the user can't update 2018-12-03 19:25:05 -05:00
soy Hide the edit/add buttons for fields the user can't update 2018-12-03 19:25:05 -05:00
BUILD Delete all Braintree code 2018-07-14 01:37:03 -04: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
ConsoleDebug.java Delete all Braintree code 2018-07-14 01:37:03 -04: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