Commit a0537e63 authored by Mortier Benoit's avatar Mortier Benoit Committed by Côme Chilliet
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>
Showing with 4 additions and 1 deletion
+4 -1
...@@ -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
......
  • bmortier @bmortier

    mentioned in issue #1446 (closed)

    By bmortier on 2017-09-02T15:26:45 (imported from GitLab)

    ·

    mentioned in issue #1446 (closed)

    By bmortier on 2017-09-02T15:26:45 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in issue #4531 (closed)

    By bmortier on 2018-10-05T11:39:00 (imported from GitLab)

    ·

    mentioned in issue #4531 (closed)

    By bmortier on 2018-10-05T11:39:00 (imported from GitLab)

    Toggle commit list
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