Added in params for phone number types: mobile, pager, fax, phone
From 46766fb7d44e5586ce05334756ae4b3a2212daab Mon Sep 17 00:00:00 2001
From: Adam Young <ayo...@redhat.com>
Date: Thu, 30 Sep 2010 13:58:01 -0400
Subject: [PATCH] phonenumbers

Added in params for phone number  types: phone, fax, mobile ,pager
---
 ipalib/plugins/user.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 293045b..758da62 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -154,6 +154,16 @@ class user(LDAPObject):
             label=_('Taskgroups'),
             flags=['no_create', 'no_update', 'no_search'],
         ),
+        Str('telephonenumber*',
+            cli_name='phone',
+            label=_('Telephone Number') ),
+        Str('mobile*',
+            label=_('Mobile Telephone Number') ),
+        Str('pager*',
+            label=_('Pager Number') ),
+        Str('facsimiletelephonenumber*',
+            cli_name='fax',
+            label=_('Fax Number') ),
     )
 
 api.register(user)
-- 
1.7.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to