summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-07-09 17:28:08 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-07-10 13:30:43 +0200
commit0d11b8b0567e8440f9cb553a99e1f66e545509d0 (patch)
tree80e3e2a196f1ffb02a181f78eb2e6ede3e4aadf9 /install
parent848bd0e9e738a4590049a223868dcfe6749a9154 (diff)
downloadfreeipa-0d11b8b0567e8440f9cb553a99e1f66e545509d0.tar.gz
freeipa-0d11b8b0567e8440f9cb553a99e1f66e545509d0.tar.xz
freeipa-0d11b8b0567e8440f9cb553a99e1f66e545509d0.zip
Web UI: kerberos ticket policy measurement units
Added measurement units for kerberos ticket policy. https://fedorahosted.org/freeipa/ticket/2444
Diffstat (limited to 'install')
-rw-r--r--install/ui/policy.js10
-rw-r--r--install/ui/user.js6
2 files changed, 12 insertions, 4 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index acad0c8c2..ff932bec4 100644
--- a/install/ui/policy.js
+++ b/install/ui/policy.js
@@ -100,8 +100,14 @@ IPA.krbtpolicy.entity = function(spec) {
{
name: 'identity',
fields: [
- 'krbmaxrenewableage',
- 'krbmaxticketlife'
+ {
+ name: 'krbmaxrenewableage',
+ measurement_unit: 'seconds'
+ },
+ {
+ name: 'krbmaxticketlife',
+ measurement_unit: 'seconds'
+ }
]
}
],
diff --git a/install/ui/user.js b/install/ui/user.js
index 24873ecf5..7bb5a5707 100644
--- a/install/ui/user.js
+++ b/install/ui/user.js
@@ -188,12 +188,14 @@ IPA.user.entity = function(spec) {
{
name: 'krbmaxrenewableage',
label: IPA.get_entity_param('krbtpolicy', 'krbmaxrenewableage').label,
- read_only: true
+ read_only: true,
+ measurement_unit: 'seconds'
},
{
name: 'krbmaxticketlife',
label: IPA.get_entity_param('krbtpolicy', 'krbmaxticketlife').label,
- read_only: true
+ read_only: true,
+ measurement_unit: 'seconds'
}
]
},