Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-plugins
Commits
7eded1f3
Verified
Commit
7eded1f3
authored
6 years ago
by
Côme Chilliet
2
Browse files
Options
Download
Patches
Plain Diff
fix(supann-ext) Various fixes to supann extension
issue #5831
parent
d5bc133f
dev
6245-adapt-the-ci-to-the-reorganisation-of-the-dev-tools-and-fixing-the-trigger-downstream-pipelines
6250-supann-configuration-backend-requires-account-life-cycle-section
6280-plugins-update-plugins-to-take-into-consideration-the-new-directory-of-core-structure
6310-tasks-reminder-error-in-the-schema-duplicate-attribute-id
6311-put-the-version-1-5-in-all-yaml-for-fusiondirectory-1-5
6322-template-issue-when-creating-a-template-with-empty-password-error-message-should-not-be-seen-2
6332-zimbra-allows-update-of-data-for-unknown-domain-name-for-specific-individual-aliases
6337-webservice-issue-with-archiving-post-request-not-responding-but-successfully-archiving-user
6341-supann-extract-resources-states-sub-states-from-backend-configuration-to-their-own-objects
master
fusiondirectory-1.5
fusiondirectory-1.4
fusiondirectory-1.3.1
fusiondirectory-1.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
supann-ext/admin/supannStructures/class_supannStructureExt.inc
+10
-5
...n-ext/admin/supannStructures/class_supannStructureExt.inc
supann-ext/contrib/openldap/supann-ext-fd.schema
+1
-1
supann-ext/contrib/openldap/supann-ext-fd.schema
with
11 additions
and
6 deletions
+11
-6
supann-ext/admin/supannStructures/class_supannStructureExt.inc
+
10
−
5
View file @
7eded1f3
...
...
@@ -44,13 +44,13 @@ class supannStructureExt extends simplePlugin
'name'
=>
_
(
'Validity'
),
'attrs'
=>
array
(
new
GeneralizedTimeDateAttribute
(
_
(
'Start'
),
_
(
'The date from which this structure will be valid'
),
'fdSupannStartDate'
,
TRU
E
,
_
(
'Start
date
'
),
_
(
'The date from which this structure will be valid'
),
'fdSupannStartDate'
,
FALS
E
,
''
),
new
GeneralizedTimeDateAttribute
(
_
(
'End'
),
_
(
'The date after which this structure will not be valid anymore'
),
'fdSupannEndDate'
,
TRU
E
,
_
(
'End
date
'
),
_
(
'The date after which this structure will not be valid anymore'
),
'fdSupannEndDate'
,
FALS
E
,
''
),
)
...
...
@@ -120,10 +120,15 @@ class supannStructureExt extends simplePlugin
}
}
array_multisort
(
$label_entites
,
$code_entites
);
array_multisort
(
$label_etablissements
,
$code_etablissements
);
$this
->
attributesAccess
[
'fdSupannRelationEntite'
]
->
attribute
->
attributes
[
2
]
->
setChoices
(
$code_entites
,
$label_entites
);
}
protected
function
prepare_save
()
{
$this
->
attributesAccess
[
'fdSupannRelationEntite'
]
->
supannPrepareSave
();
return
parent
::
prepare_save
();
}
}
?>
This diff is collapsed.
Click to expand it.
supann-ext/contrib/openldap/supann-ext-fd.schema
+
1
−
1
View file @
7eded1f3
...
...
@@ -42,7 +42,7 @@ attributetype ( 1.3.6.1.4.1.38414.66.1.6 NAME 'fdSupannRelationEntite'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
# Object Class
objectclass (1.3.6.1.4.1.38414.66.2.1 NAME 'fdSupannExt'
objectclass (1.3.6.1.4.1.38414.66.2.1 NAME 'fdSupannExt'
SUP top AUXILIARY
DESC 'FusionDirectory - audit event'
MUST ( )
MAY (
...
...
This diff is collapsed.
Click to expand it.
Côme Chilliet
@cchilliet
mentioned in commit
8b7b2782
·
6 years ago
mentioned in commit
8b7b2782
mentioned in commit 8b7b27824d223c2aec9eddbe82d4cd68273f879e
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets