Akasurde's pull request #83: "Added a fix for setting Priority as required 
field " was opened

PR body:
"""
Fixes: https://fedorahosted.org/freeipa/ticket/5553

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
"""

See the full pull-request at https://github.com/freeipa/freeipa/pull/83
... or pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/83/head:pr83
git checkout pr83
From 77f292b6ba977ff60a3630f9f8a2302a2bd63a66 Mon Sep 17 00:00:00 2001
From: Abhijeet Kasurde <akasu...@redhat.com>
Date: Thu, 15 Sep 2016 11:50:16 +0530
Subject: [PATCH] Added a fix for setting Priority as required field in
 Password Policy Details facet

Fixes: https://fedorahosted.org/freeipa/ticket/5553

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
---
 install/ui/src/freeipa/policy.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/install/ui/src/freeipa/policy.js b/install/ui/src/freeipa/policy.js
index 6c20cc1..6fdeed1 100644
--- a/install/ui/src/freeipa/policy.js
+++ b/install/ui/src/freeipa/policy.js
@@ -69,7 +69,10 @@ return {
                             name: 'krbpwdlockoutduration',
                             measurement_unit: 'seconds'
                         },
-                        'cospriority'
+                        {
+                            name: 'cospriority',
+                            required: true
+                        }
                     ]
                 }]
         }
@@ -132,4 +135,4 @@ exp.register = function() {
 phases.on('registration', exp.register);
 
 return exp;
-});
\ No newline at end of file
+});
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to