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
fusiondirectory
fusiondirectory
Commits
977c7369
Commit
977c7369
authored
Dec 09, 2013
by
Côme Bernigaud
Committed by
Benoit Mortier
Dec 09, 2013
Browse files
Fixes:
#2736
Creating ACL during object creation
parent
1d0901c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/admin/acl/class_aclAssignment.inc
View file @
977c7369
...
...
@@ -133,10 +133,14 @@ class ACLsAssignmentDialog extends GenericDialog
function
__construct
(
$simplePlugin
,
&
$attribute
,
$acl
=
NULL
)
{
$isContainer
=
FALSE
;
if
(
count
(
array_intersect
(
$simplePlugin
->
attrs
[
'objectClass'
],
array
(
'organizationalUnit'
,
'organization'
,
'domain'
,
'country'
,
'locality'
))
))
{
if
(
isset
(
$simplePlugin
->
attrs
[
'objectClass'
]))
{
if
(
count
(
array_intersect
(
$simplePlugin
->
attrs
[
'objectClass'
],
array
(
'organizationalUnit'
,
'organization'
,
'domain'
,
'country'
,
'locality'
))
))
{
$isContainer
=
TRUE
;
}
}
else
{
$isContainer
=
TRUE
;
}
$this
->
attribute
=
$attribute
;
...
...
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