Commit 6e827608 authored by Mortier Benoit's avatar Mortier Benoit
Browse files

Fixes: #4531 The co (country friendlyName) in department and organization...

Fixes: #4531

 The co (country friendlyName) in department and organization should be added and be dropdown filled from the configuration backend

Adding co and a string field
Signed-off-by: default avatarMortier Benoit <benoit.mortier@opensides.be>
parent 636b47d9
...@@ -108,7 +108,7 @@ objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.3 NAME 'gosaCacheEntry' SUP top STRUCTU ...@@ -108,7 +108,7 @@ objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.3 NAME 'gosaCacheEntry' SUP top STRUCTU
objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.4 NAME 'gosaDepartment' SUP top AUXILIARY objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.4 NAME 'gosaDepartment' SUP top AUXILIARY
DESC 'GOsa - Class to mark Departments for GOsa' DESC 'GOsa - Class to mark Departments for GOsa'
MUST ( ou $ description ) MUST ( ou $ description )
MAY ( manager )) MAY ( manager $ co ) )
objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.6 NAME 'gosaAccount' SUP top AUXILIARY objectclass ( 1.3.6.1.4.1.10098.1.2.1.19.6 NAME 'gosaAccount' SUP top AUXILIARY
DESC 'GOsa - Class for GOsa Accounts' DESC 'GOsa - Class for GOsa Accounts'
......
...@@ -96,6 +96,9 @@ class department extends simplePlugin ...@@ -96,6 +96,9 @@ class department extends simplePlugin
new StringAttribute( new StringAttribute(
_('Location'), _('Location'), 'l', FALSE _('Location'), _('Location'), 'l', FALSE
), ),
new StringAttribute(
_('Country'), _('Country'), 'co', FALSE
),
new TextAreaAttribute( new TextAreaAttribute(
_('Address'), sprintf(_('A postal address for this %s'), $name), _('Address'), sprintf(_('A postal address for this %s'), $name),
'postalAddress', FALSE 'postalAddress', FALSE
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment