[Freeipa-devel] [PATCH 0303] ipalib: Make sure correct attribute name is referenced for

Alexander Bokovoy abokovoy at redhat.com
Thu Feb 19 16:29:58 UTC 2015


On Thu, 19 Feb 2015, Tomas Babej wrote:
>Hi,
>
>Fixes the invalid attribute name reference in the
>'System: Read User Addressbook Attributes' permission.
>
>https://fedorahosted.org/freeipa/ticket/4883
>
>Tomas

>>From 93ab1bf897151992df4bd3588386cf8fed4849d2 Mon Sep 17 00:00:00 2001
>From: Tomas Babej <tbabej at redhat.com>
>Date: Thu, 19 Feb 2015 17:10:37 +0100
>Subject: [PATCH] ipalib: Make sure correct attribute name is referenced for
> fax
>
>Fixes the invalid attribute name reference in the
>'System: Read User Addressbook Attributes' permission.
>
>https://fedorahosted.org/freeipa/ticket/4883
>---
> ipalib/plugins/user.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
>index 56585b9f86593c0c5879139103bc71707b88e15f..abe5ee26b8e48681eeb0cbb3bcff8617e212225c 100644
>--- a/ipalib/plugins/user.py
>+++ b/ipalib/plugins/user.py
>@@ -276,7 +276,7 @@ class user(LDAPObject):
>             'ipapermright': {'read', 'search', 'compare'},
>             'ipapermdefaultattr': {
>                 'seealso', 'telephonenumber',
>-                'fax', 'l', 'ou', 'st', 'postalcode', 'street',
>+                'facsimiletelephonenumber', 'l', 'ou', 'st', 'postalcode', 'street',
>                 'destinationindicator', 'internationalisdnnumber',
>                 'physicaldeliveryofficename', 'postaladdress', 'postofficebox',
>                 'preferreddeliverymethod', 'registeredaddress',
00core.ldif still contains 'fax' definition as an alias to
'facsimileTelephoneNumber' so strictly speaking both should be allowed
even though 'fax' attribute name is deprecated.


-- 
/ Alexander Bokovoy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150219/4109e55c/attachment.sig>


More information about the Freeipa-devel mailing list