From 25af226e37a3ae40039cec1b4a2432a76c81d87d Mon Sep 17 00:00:00 2001 From: Becky Siegel Date: Mon, 11 Dec 2017 13:59:25 -0800 Subject: [PATCH] Prepare for rule (only) editing As project access gets ready to move away from read only mode, there will be a few intermediate stages in which some functionality is added. Rule editing (not adding/removing) is the first step. As some of the additional functionality's UI had been started, temporary CSS changes must be made to hide this from the user. This change has no visible changes to the user at this time, all of the changes only exist when the project access 'editing' is true. Bug: Issue 6569 Change-Id: I3f39a6a68f5622a597fc8020bb6e31db2d4f24dd --- .../admin/gr-access-section/gr-access-section.html | 10 ++++++---- .../elements/admin/gr-permission/gr-permission.html | 13 ++++++++----- .../admin/gr-rule-editor/gr-rule-editor.html | 5 +++-- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/polygerrit-ui/app/elements/admin/gr-access-section/gr-access-section.html b/polygerrit-ui/app/elements/admin/gr-access-section/gr-access-section.html index 529e14c2af..658fd5865e 100644 --- a/polygerrit-ui/app/elements/admin/gr-access-section/gr-access-section.html +++ b/polygerrit-ui/app/elements/admin/gr-access-section/gr-access-section.html @@ -61,12 +61,13 @@ limitations under the License. .editContainer { display: none; } - .deleted #deletedContainer, + /* TODO @beckysiegel add back when editing allowed */ + /* .deleted #deletedContainer, #mainContainer, .editing #addPermission, .editing #updateBtns { display: block; - } + } */ .editingRef .editContainer { display: flex; } @@ -115,7 +116,7 @@ limitations under the License.
Add permission: - -->