URL: https://github.com/freeipa/freeipa/pull/1299
Author: abbra
 Title: #1299: [Backport][ipa-4-6] WebUI: make Domain Resolution Order writable
Action: opened

PR body:
This PR was opened automatically because PR #1178 was pushed to master and 
backport to ipa-4-6 is required.

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1299/head:pr1299
git checkout pr1299
From 594193261c28bac720e50e2dcb5603f8c589e0e5 Mon Sep 17 00:00:00 2001
From: Pavel Vomacka <pvoma...@redhat.com>
Date: Wed, 18 Oct 2017 17:30:38 +0200
Subject: [PATCH] WebUI: make Domain Resolution Order writable

Objectclass which defines the Domain Resolution Order is added to
the object only after modification. Therefore before modification of
object the attributelevelrights does not contain the 'domainresolutionorder'
attribute and the WebUI evaluates field as not writable.

'w_if_no_aci' flag was designed to make writable those fields
for which we don't have attributelevelrights.

 install/ui/src/freeipa/idviews.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/install/ui/src/freeipa/idviews.js b/install/ui/src/freeipa/idviews.js
index d9133a13c2..0511820e2b 100644
--- a/install/ui/src/freeipa/idviews.js
+++ b/install/ui/src/freeipa/idviews.js
@@ -101,6 +101,7 @@ return {
                             name: 'ipadomainresolutionorder',
+                            flags: ['w_if_no_aci'],
                             tooltip: '@mc-opt:idview_mod:ipadomainresolutionorder:doc'
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to