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
96a77084
Commit
96a77084
authored
Sep 16, 2014
by
Côme Bernigaud
Committed by
Benoit Mortier
Sep 16, 2014
Browse files
Fixes:
#2624
Fixed some problems with ogroups tabs
parent
453e5a50
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/class_plugin.inc
View file @
96a77084
...
...
@@ -99,7 +99,6 @@ class plugin
dn
*/
var
$dn
=
""
;
var
$acl
=
"*none*"
;
var
$dialog
=
FALSE
;
/* attribute list for save action */
...
...
plugins/admin/ogroups/tabs_ogroups.inc
View file @
96a77084
...
...
@@ -21,16 +21,11 @@
class
ogrouptabs
extends
simpleTabs_noSpecial
{
var
$base
=
""
;
var
$acl_category
;
private
$groupObjects
=
NULL
;
function
__construct
(
$
config
,
$data
,
$dn
,
$category
=
"ogroup"
,
$copied_object
=
NULL
)
function
__construct
(
$
type
,
$dn
,
$copied_object
=
NULL
)
{
parent
::
__construct
(
$config
,
$data
,
$dn
,
$category
,
$copied_object
);
$this
->
base
=
$this
->
by_object
[
'ogroup'
]
->
base
;
$this
->
acl_category
=
$category
;
parent
::
__construct
(
$type
,
$dn
,
$copied_object
);
$this
->
loadtabs
(
$this
->
getBaseObject
()
->
gosaGroupObjects
);
}
...
...
@@ -112,7 +107,6 @@ class ogrouptabs extends simpleTabs_noSpecial
$this
->
by_name
[
"
$class
"
]
=
$plInfos
[
'plShortName'
];
$this
->
by_object
[
"
$class
"
]
=
new
$class
(
$this
->
config
,
$this
->
dn
,
$this
->
getBaseObject
());
$this
->
by_object
[
"
$class
"
]
->
parent
=
&
$this
;
$this
->
by_object
[
"
$class
"
]
->
acl
=
"#all#"
;
$this
->
by_object
[
"
$class
"
]
->
set_acl_category
(
$this
->
acl_category
);
}
...
...
Côme Chilliet
@cchilliet
mentioned in issue
#891 (closed)
·
Sep 02, 2017
mentioned in issue
#891 (closed)
mentioned in issue #891
Toggle commit list
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