Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
agallavardin
fusiondirectory-plugins
Commits
fa731d18
Verified
Commit
fa731d18
authored
Oct 16, 2018
by
Côme Chilliet
Browse files
🚑
fix(supann) Fix SupAnn case to be consistent
issue #5872
parent
98ad5e21
Changes
5
Hide whitespace changes
Inline
Side-by-side
supann/admin/supannStructures/class_entite.inc
View file @
fa731d18
...
...
@@ -24,10 +24,10 @@ class entite extends simplePlugin
{
return
array
(
'plShortName'
=>
_
(
'Entity'
),
'plDescription'
=>
_
(
'S
UPANN
Entity Settings'
),
'plDescription'
=>
_
(
'S
upAnn
Entity Settings'
),
'plObjectClass'
=>
array
(
'supannEntite'
,
'organizationalUnit'
),
'plObjectType'
=>
array
(
'entite'
=>
array
(
'name'
=>
_
(
'S
UPANN
Entity'
),
'name'
=>
_
(
'S
upAnn
Entity'
),
'ou'
=>
get_ou
(
'supannStructuresRDN'
),
'mainAttr'
=>
'supannCodeEntite'
,
'icon'
=>
'geticon.php?context=applications&icon=supann-entite&size=16'
,
...
...
@@ -73,14 +73,14 @@ class entite extends simplePlugin
)
),
'supann'
=>
array
(
'name'
=>
_
(
'S
UPANN
information'
),
'name'
=>
_
(
'S
upAnn
information'
),
'attrs'
=>
array
(
new
SupannPrefixedSelectAttribute
(
_
(
'Entity type'
),
_
(
'The S
UPANN
type that best fits this entity'
),
_
(
'Entity type'
),
_
(
'The S
upAnn
type that best fits this entity'
),
'supannTypeEntite'
,
FALSE
,
'entite'
),
new
StringAttribute
(
_
(
'Entity code'
),
_
(
'The S
UPANN
code of this entity'
),
_
(
'Entity code'
),
_
(
'The S
upAnn
code of this entity'
),
'supannCodeEntite'
,
TRUE
,
''
,
''
,
'/^[a-z0-9_-]*$/i'
),
...
...
supann/admin/supannStructures/class_etablissement.inc
View file @
fa731d18
...
...
@@ -24,11 +24,11 @@ class etablissement extends simplePlugin
{
return
array
(
'plShortName'
=>
_
(
'Establishment'
),
'plDescription'
=>
_
(
'S
UPANN
Establishment Settings'
),
'plDescription'
=>
_
(
'S
upAnn
Establishment Settings'
),
'plObjectClass'
=>
array
(
'supannEntite'
,
'organization'
,
'supannOrg'
,
'eduOrg'
),
'plFilter'
=>
'(&(objectClass=supannEntite)(objectClass=organization))'
,
'plObjectType'
=>
array
(
'etablissement'
=>
array
(
'name'
=>
_
(
'S
UPANN
Establishment'
),
'name'
=>
_
(
'S
upAnn
Establishment'
),
'ou'
=>
get_ou
(
'supannStructuresRDN'
),
'mainAttr'
=>
'supannCodeEntite'
,
'icon'
=>
'geticon.php?context=applications&icon=supann-etablissement&size=16'
,
...
...
@@ -82,7 +82,7 @@ class etablissement extends simplePlugin
)
),
'supann'
=>
array
(
'name'
=>
_
(
'S
UPANN
properties'
),
'name'
=>
_
(
'S
upAnn
properties'
),
'attrs'
=>
array
(
new
StringAttribute
(
_
(
'Establishment code'
),
_
(
'The code of this establishment (must have a prefix between {})'
),
...
...
@@ -90,7 +90,7 @@ class etablissement extends simplePlugin
''
,
''
,
'/^{[^}]+}.*$/'
),
new
StringAttribute
(
_
(
'S
UPANN
code'
),
_
(
'The S
UPANN
code for this establishment'
),
_
(
'S
upAnn
code'
),
_
(
'The S
upAnn
code for this establishment'
),
'supannCodeEntite'
,
TRUE
,
''
,
''
,
'/^[a-z0-9_-]*$/i'
),
...
...
supann/admin/supannStructures/class_supannStructuresManagement.inc
View file @
fa731d18
...
...
@@ -32,8 +32,8 @@ class supannStructuresManagement extends simpleManagement
static
function
plInfo
()
{
return
array
(
'plShortName'
=>
_
(
'Sup
a
nn structures'
),
'plDescription'
=>
_
(
'Sup
a
nn structures management'
),
'plShortName'
=>
_
(
'Sup
A
nn structures'
),
'plDescription'
=>
_
(
'Sup
A
nn structures management'
),
'plIcon'
=>
'geticon.php?context=applications&icon=supann&size=48'
,
'plSection'
=>
'accounts'
,
'plPriority'
=>
40
,
...
...
supann/config/supann/class_supannConfig.inc
View file @
fa731d18
...
...
@@ -23,8 +23,8 @@ class supannConfig extends simplePlugin
static
function
plInfo
()
{
return
array
(
'plShortName'
=>
_
(
'S
UPANN
configuration'
),
'plDescription'
=>
_
(
'FusionDirectory S
UPANN
plugin configuration'
),
'plShortName'
=>
_
(
'S
upAnn
configuration'
),
'plDescription'
=>
_
(
'FusionDirectory S
upAnn
plugin configuration'
),
'plObjectClass'
=>
array
(
'fdSupannPluginConf'
),
'plCategory'
=>
array
(
'configuration'
),
'plObjectType'
=>
array
(
'smallConfig'
),
...
...
@@ -37,15 +37,15 @@ class supannConfig extends simplePlugin
{
return
array
(
'main'
=>
array
(
'name'
=>
_
(
'S
UPANN
'
),
'name'
=>
_
(
'S
upAnn
'
),
'attrs'
=>
array
(
new
StringAttribute
(
_
(
'S
UPANN
RDN'
),
_
(
'Branch in which S
UPANN
structures will be stored'
),
_
(
'S
upAnn
RDN'
),
_
(
'Branch in which S
upAnn
structures will be stored'
),
'fdSupannStructuresRDN'
,
TRUE
,
'ou=structures'
),
new
BooleanAttribute
(
_
(
'S
UPANN
mail for recovery'
),
_
(
'Allow the use of mail addresses from the personal mail address field from S
UPANN
account for password recovery'
),
_
(
'S
upAnn
mail for recovery'
),
_
(
'Allow the use of mail addresses from the personal mail address field from S
upAnn
account for password recovery'
),
'fdSupannPasswordRecovery'
,
FALSE
,
TRUE
),
...
...
supann/contrib/openldap/supann-fd-conf.schema
View file @
fa731d18
##
## supann-fd.schema - Needed by Fusion Directory for managing S
UPANN
## supann-fd.schema - Needed by Fusion Directory for managing S
upAnn
##
# Attributes
attributetype ( 1.3.6.1.4.1.38414.17.1.1 NAME 'fdSupannStructuresRDN'
DESC 'FusionDirectory - S
UPANN
structures RDN'
DESC 'FusionDirectory - S
upAnn
structures RDN'
EQUALITY caseExactIA5Match
SUBSTR caseExactIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE)
attributetype ( 1.3.6.1.4.1.38414.17.1.2 NAME 'fdSupannPasswordRecovery'
DESC 'FusionDirectory - S
UPANN
allow supann mail in password recovery'
DESC 'FusionDirectory - S
upAnn
allow supann mail in password recovery'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
# Object Class
objectclass ( 1.3.6.1.4.1.38414.17.2.1 NAME 'fdSupannPluginConf'
DESC 'FusionDirectory
s
up
a
nn plugin configuration'
DESC 'FusionDirectory
S
up
A
nn plugin configuration'
SUP top AUXILIARY
MUST ( cn )
MAY ( fdSupannStructuresRDN $ fdSupannPasswordRecovery ) )
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment