Code

f470f34114b18036fbaafedd5b8c11e99a6ad085
[gosa.git] / gosa-core / include / class_core.inc
1 <?php
4 class all extends plugin {
5     static function plInfo()
6     {
7         return (array(
8                     "plShortName"   => _("All"),
9                     "plDescription" => _("All objects in this category"),
10                     "plSelfModify"  => TRUE,
11                     "plDepends"     => array(),
12                     "plPriority"    => 0,
13                     "plSection"     => array("administration"),
14                     "plCategory"    => array("all" => array("objectClass" => "none", "description" => '*&nbsp;'._("All"))),
15                     "plProvidedAcls"    => array())
16                );
17     }
18 }
20 class core extends plugin {
23     /*! \brief  Add ACL object
24       @return Returns the ACL object.
25      */
26     static function plInfo()
27     {
28         return (array(
29                     "plShortName" => _("Sudo"),
30                     "plDescription" => _("Sudo role"),
31                     "plSelfModify"  => FALSE,
32                     "plDepends"     => array(),
33                     "plPriority"    => 0,
34                     "plSection"     => array("administration"),
35                     "plCategory"    => array("sudo" => array("objectClass" => "sudoRole", "description" => _("Sudo role"))),
37                     "plProperties"  => array(
40                         array(
41                             "name"          => "logging",
42                             "type"          => "string",
43                             "default"       => "",
44                             "description"   => "",
45                             "check"         => "",
46                             "migrate"       => "",
47                             "group"         => "core",
48                             "mandatory"     => FALSE),
50                         array(
51                             "name"          => "listSummary",
52                             "type"          => "string",
53                             "default"       => "",
54                             "description"   => "",
55                             "check"         => "",
56                             "migrate"       => "",
57                             "group"         => "core",
58                             "mandatory"     => FALSE),
60                         array(
61                                 "name"          => "passwordMinLength",
62                                 "type"          => "string",
63                                 "default"       => "",
64                                 "description"   => "",
65                                 "check"         => "",
66                                 "migrate"       => "",
67                                 "group"         => "core",
68                                 "mandatory"     => FALSE),
70                         array(
71                                 "name"          => "passwordMinDiffer",
72                                 "type"          => "string",
73                                 "default"       => "",
74                                 "description"   => "",
75                                 "check"         => "",
76                                 "migrate"       => "",
77                                 "group"         => "core",
78                                 "mandatory"     => FALSE),
80                         array(
81                                 "name"          => "passwordHook",
82                                 "type"          => "string",
83                                 "default"       => "",
84                                 "description"   => "",
85                                 "check"         => "",
86                                 "migrate"       => "",
87                                 "group"         => "core",
88                                 "mandatory"     => FALSE),
90                         array(
91                                 "name"          => "displayErrors",
92                                 "type"          => "string",
93                                 "default"       => "",
94                                 "description"   => "",
95                                 "check"         => "",
96                                 "migrate"       => "",
97                                 "group"         => "core",
98                                 "mandatory"     => FALSE),
100                         array(
101                                 "name"          => "schemaCheck",
102                                 "type"          => "string",
103                                 "default"       => "",
104                                 "description"   => "",
105                                 "check"         => "",
106                                 "migrate"       => "",
107                                 "group"         => "core",
108                                 "mandatory"     => FALSE),
110                         array(
111                                 "name"          => "copyPaste",
112                                 "type"          => "string",
113                                 "default"       => "",
114                                 "description"   => "",
115                                 "check"         => "",
116                                 "migrate"       => "",
117                                 "group"         => "core",
118                                 "mandatory"     => FALSE),
120                         array(
121                                 "name"          => "forceGlobals",
122                                 "type"          => "string",
123                                 "default"       => "",
124                                 "description"   => "",
125                                 "check"         => "",
126                                 "migrate"       => "",
127                                 "group"         => "core",
128                                 "mandatory"     => FALSE),
130                         array(
131                                 "name"          => "forceSSL",
132                                 "type"          => "string",
133                                 "default"       => "",
134                                 "description"   => "",
135                                 "check"         => "",
136                                 "migrate"       => "",
137                                 "group"         => "core",
138                                 "mandatory"     => FALSE),
140                         array(
141                                 "name"          => "ldapStats",
142                                 "type"          => "string",
143                                 "default"       => "",
144                                 "description"   => "",
145                                 "check"         => "",
146                                 "migrate"       => "",
147                                 "group"         => "core",
148                                 "mandatory"     => FALSE),
150                         array(
151                                 "name"          => "warnSSL",
152                                 "type"          => "string",
153                                 "default"       => "",
154                                 "description"   => "",
155                                 "check"         => "",
156                                 "migrate"       => "",
157                                 "group"         => "core",
158                                 "mandatory"     => FALSE),
160                         array(
161                                 "name"          => "ppdGzip",
162                                 "type"          => "string",
163                                 "default"       => "",
164                                 "description"   => "",
165                                 "check"         => "",
166                                 "migrate"       => "",
167                                 "group"         => "core",
168                                 "mandatory"     => FALSE),
170                         array(
171                                 "name"          => "ppdPath",
172                                 "type"          => "string",
173                                 "default"       => "",
174                                 "description"   => "",
175                                 "check"         => "",
176                                 "migrate"       => "",
177                                 "group"         => "core",
178                                 "mandatory"     => FALSE),
180                         array(
181                                 "name"          => "ldapMaxQueryTime",
182                                 "type"          => "string",
183                                 "default"       => "",
184                                 "description"   => "",
185                                 "check"         => "",
186                                 "migrate"       => "",
187                                 "group"         => "core",
188                                 "mandatory"     => FALSE),
190                         array(
191                                 "name"          => "primaryGroupFilter",
192                                 "type"          => "string",
193                                 "default"       => "",
194                                 "description"   => "",
195                                 "check"         => "",
196                                 "migrate"       => "",
197                                 "group"         => "core",
198                                 "mandatory"     => FALSE),
200                         array(
201                                 "name"          => "mailQueueScriptPath",
202                                 "type"          => "string",
203                                 "default"       => "",
204                                 "description"   => "",
205                                 "check"         => "",
206                                 "migrate"       => "",
207                                 "group"         => "core",
208                                 "mandatory"     => FALSE),
210                         array(
211                                 "name"          => "storeFilterSettings",
212                                 "type"          => "string",
213                                 "default"       => "",
214                                 "description"   => "",
215                                 "check"         => "",
216                                 "migrate"       => "",
217                                 "group"         => "core",
218                                 "mandatory"     => FALSE),
220                         array(
221                                 "name"          => "sendCompressedOutput",
222                                 "type"          => "string",
223                                 "default"       => "",
224                                 "description"   => "",
225                                 "check"         => "",
226                                 "migrate"       => "",
227                                 "group"         => "core",
228                                 "mandatory"     => FALSE),
230                         array(
231                                 "name"          => "modificationDetectionAttribute",
232                                 "type"          => "string",
233                                 "default"       => "",
234                                 "description"   => "",
235                                 "check"         => "",
236                                 "migrate"       => "",
237                                 "group"         => "core",
238                                 "mandatory"     => FALSE),
240                         array(
241                                 "name"          => "language",
242                                 "type"          => "string",
243                                 "default"       => "",
244                                 "description"   => "",
245                                 "check"         => "",
246                                 "migrate"       => "",
247                                 "group"         => "core",
248                                 "mandatory"     => FALSE),
250                         array(
251                                 "name"          => "theme",
252                                 "type"          => "string",
253                                 "default"       => "",
254                                 "description"   => "",
255                                 "check"         => "",
256                                 "migrate"       => "",
257                                 "group"         => "core",
258                                 "mandatory"     => FALSE),
260                         array(
261                                 "name"          => "sessionLifetime",
262                                 "type"          => "string",
263                                 "default"       => "",
264                                 "description"   => "",
265                                 "check"         => "",
266                                 "migrate"       => "",
267                                 "group"         => "core",
268                                 "mandatory"     => FALSE),
270                         array(
271                                 "name"          => "templateCompileDirectory",
272                                 "type"          => "string",
273                                 "default"       => "",
274                                 "description"   => "",
275                                 "check"         => "",
276                                 "migrate"       => "",
277                                 "group"         => "core",
278                                 "mandatory"     => FALSE),
280                         array(
281                                 "name"          => "debugLevel",
282                                 "type"          => "string",
283                                 "default"       => "",
284                                 "description"   => "",
285                                 "check"         => "",
286                                 "migrate"       => "",
287                                 "group"         => "core",
288                                 "mandatory"     => FALSE),
290                         array(
291                                 "name"          => "sambaHashHook",
292                                 "type"          => "string",
293                                 "default"       => "",
294                                 "description"   => "",
295                                 "check"         => "",
296                                 "migrate"       => "",
297                                 "group"         => "core",
298                                 "mandatory"     => FALSE),
300                         array(
301                                 "name"          => "passwordDefaultHash",
302                                 "type"          => "string",
303                                 "default"       => "",
304                                 "description"   => "",
305                                 "check"         => "",
306                                 "migrate"       => "",
307                                 "group"         => "core",
308                                 "mandatory"     => FALSE),
310                         array(
311                                 "name"          => "accountPrimaryAttribute",
312                                 "type"          => "string",
313                                 "default"       => "",
314                                 "description"   => "",
315                                 "check"         => "",
316                                 "migrate"       => "",
317                                 "group"         => "core",
318                                 "mandatory"     => FALSE),
320                         array(
321                                 "name"          => "userRDN",
322                                 "type"          => "string",
323                                 "default"       => "",
324                                 "description"   => "",
325                                 "check"         => "",
326                                 "migrate"       => "",
327                                 "group"         => "core",
328                                 "mandatory"     => FALSE),
330                         array(
331                                 "name"          => "groupRDN",
332                                 "type"          => "string",
333                                 "default"       => "",
334                                 "description"   => "",
335                                 "check"         => "",
336                                 "migrate"       => "",
337                                 "group"         => "core",
338                                 "mandatory"     => FALSE),
340                         array(
341                                 "name"          => "gidNumberBase",
342                                 "type"          => "string",
343                                 "default"       => "",
344                                 "description"   => "",
345                                 "check"         => "",
346                                 "migrate"       => "",
347                                 "group"         => "core",
348                                 "mandatory"     => FALSE),
350                         array(
351                                 "name"          => "uidNumberBase",
352                                 "type"          => "string",
353                                 "default"       => "",
354                                 "description"   => "",
355                                 "check"         => "",
356                                 "migrate"       => "",
357                                 "group"         => "core",
358                                 "mandatory"     => FALSE),
360                         array(
361                                 "name"          => "sudoRDN",
362                                 "type"          => "string",
363                                 "default"       => "",
364                                 "description"   => "",
365                                 "check"         => "",
366                                 "migrate"       => "",
367                                 "group"         => "core",
368                                 "mandatory"     => FALSE),
370                         array(
371                                 "name"          => "gosaSupportURI",
372                                 "type"          => "string",
373                                 "default"       => "",
374                                 "description"   => "",
375                                 "check"         => "",
376                                 "migrate"       => "",
377                                 "group"         => "core",
378                                 "mandatory"     => FALSE),
380                         array(
381                                 "name"          => "gosaSupportTimeout",
382                                 "type"          => "string",
383                                 "default"       => "",
384                                 "description"   => "",
385                                 "check"         => "",
386                                 "migrate"       => "",
387                                 "group"         => "core",
388                                 "mandatory"     => FALSE),
390                         array(
391                                 "name"          => "loginAttribute",
392                                 "type"          => "string",
393                                 "default"       => "",
394                                 "description"   => "",
395                                 "check"         => "",
396                                 "migrate"       => "",
397                                 "group"         => "core",
398                                 "mandatory"     => FALSE),
400                         array(
401                                 "name"          => "timezone",
402                                 "type"          => "string",
403                                 "default"       => "",
404                                 "description"   => "",
405                                 "check"         => "",
406                                 "migrate"       => "",
407                                 "group"         => "core",
408                                 "mandatory"     => FALSE),
410                         array(
411                                 "name"          => "honourUnitTags",
412                                 "type"          => "string",
413                                 "default"       => "",
414                                 "description"   => "",
415                                 "check"         => "",
416                                 "migrate"       => "",
417                                 "group"         => "core",
418                                 "mandatory"     => FALSE),
420                         array(
421                                 "name"          => "useSaslForKerberos",
422                                 "type"          => "string",
423                                 "default"       => "",
424                                 "description"   => "",
425                                 "check"         => "",
426                                 "migrate"       => "",
427                                 "group"         => "core",
428                                 "mandatory"     => FALSE),
430                         array(
431                                 "name"          => "rfc2307bis",
432                                 "type"          => "string",
433                                 "default"       => "",
434                                 "description"   => "",
435                                 "check"         => "",
436                                 "migrate"       => "",
437                                 "group"         => "core",
438                                 "mandatory"     => FALSE),
440                         array(
441                                 "name"          => "personalTitleInDN",
442                                 "type"          => "string",
443                                 "default"       => "",
444                                 "description"   => "",
445                                 "check"         => "",
446                                 "migrate"       => "",
447                                 "group"         => "core",
448                                 "mandatory"     => FALSE),
450                         array(
451                                 "name"          => "nextIdHook",
452                                 "type"          => "string",
453                                 "default"       => "",
454                                 "description"   => "",
455                                 "check"         => "",
456                                 "migrate"       => "",
457                                 "group"         => "core",
458                                 "mandatory"     => FALSE),
460                         array(
461                                 "name"          => "sambaMachineAccountRDN",
462                                 "type"          => "string",
463                                 "default"       => "",
464                                 "description"   => "",
465                                 "check"         => "",
466                                 "migrate"       => "",
467                                 "group"         => "core",
468                                 "mandatory"     => FALSE),
470                         array(
471                                 "name"          => "idGenerator",
472                                 "type"          => "string",
473                                 "default"       => "",
474                                 "description"   => "",
475                                 "check"         => "",
476                                 "migrate"       => "",
477                                 "group"         => "core",
478                                 "mandatory"     => FALSE),
480                         array(
481                                 "name"          => "strictNamingRules",
482                                 "type"          => "string",
483                                 "default"       => "",
484                                 "description"   => "",
485                                 "check"         => "",
486                                 "migrate"       => "",
487                                 "group"         => "core",
488                                 "mandatory"     => FALSE),
490                         array(
491                                 "name"          => "minId",
492                                 "type"          => "string",
493                                 "default"       => "",
494                                 "description"   => "",
495                                 "check"         => "",
496                                 "migrate"       => "",
497                                 "group"         => "core",
498                                 "mandatory"     => FALSE),
500                         array(
501                                 "name"          => "mailAttribute",
502                                 "type"          => "string",
503                                 "default"       => "",
504                                 "description"   => "",
505                                 "check"         => "",
506                                 "migrate"       => "",
507                                 "group"         => "core",
508                                 "mandatory"     => FALSE),
510                         array(
511                                 "name"          => "gosaSharedPrefix",
512                                 "type"          => "string",
513                                 "default"       => "",
514                                 "description"   => "",
515                                 "check"         => "",
516                                 "migrate"       => "",
517                                 "group"         => "core",
518                                 "mandatory"     => FALSE),
520                         array(
521                                 "name"          => "mailUserCreation",
522                                 "type"          => "string",
523                                 "default"       => "",
524                                 "description"   => "",
525                                 "check"         => "",
526                                 "migrate"       => "",
527                                 "group"         => "core",
528                                 "mandatory"     => FALSE),
530                         array(
531                                 "name"          => "mailFolderCreation",
532                                 "type"          => "string",
533                                 "default"       => "",
534                                 "description"   => "",
535                                 "check"         => "",
536                                 "migrate"       => "",
537                                 "group"         => "core",
538                                 "mandatory"     => FALSE),
540                         array(
541                                 "name"          => "imapTimeout",
542                                 "type"          => "string",
543                                 "default"       => "",
544                                 "description"   => "",
545                                 "check"         => "",
546                                 "migrate"       => "",
547                                 "group"         => "core",
548                                 "mandatory"     => FALSE),
550                         array(
551                                 "name"          => "mailMethod",
552                                 "type"          => "string",
553                                 "default"       => "",
554                                 "description"   => "",
555                                 "check"         => "",
556                                 "migrate"       => "",
557                                 "group"         => "core",
558                                 "mandatory"     => FALSE),
560                         array(
561                                 "name"          => "cyrusUseSlashes",
562                                 "type"          => "string",
563                                 "default"       => "",
564                                 "description"   => "",
565                                 "check"         => "",
566                                 "migrate"       => "",
567                                 "group"         => "core",
568                                 "mandatory"     => FALSE),
570                         array(
571                                 "name"          => "vacationTemplateDirectory",
572                                 "type"          => "string",
573                                 "default"       => "",
574                                 "description"   => "",
575                                 "check"         => "",
576                                 "migrate"       => "",
577                                 "group"         => "core",
578                                 "mandatory"     => FALSE),
580                         array(
581                                 "name"          => "ldapTLS",
582                                 "type"          => "string",
583                                 "default"       => "",
584                                 "description"   => "",
585                                 "check"         => "",
586                                 "migrate"       => "",
587                                 "group"         => "core",
588                                 "mandatory"     => FALSE),
590                         array(
591                                 "name"          => "honourIvbbAttributes",
592                                 "type"          => "string",
593                                 "default"       => "",
594                                 "description"   => "",
595                                 "check"         => "",
596                                 "migrate"       => "",
597                                 "group"         => "core",
598                                 "mandatory"     => FALSE),
600                         array(
601                                 "name"          => "sambaIdMapping",
602                                 "type"          => "string",
603                                 "default"       => "",
604                                 "description"   => "",
605                                 "check"         => "",
606                                 "migrate"       => "",
607                                 "group"         => "core",
608                                 "mandatory"     => FALSE),
610                         array(
611                                 "name"          => "handleExpiredAccounts",
612                                 "type"          => "string",
613                                 "default"       => "",
614                                 "description"   => "",
615                                 "check"         => "",
616                                 "migrate"       => "",
617                                 "group"         => "core",
618                                 "mandatory"     => FALSE),
620                         array(
621                                 "name"          => "sambaSID",
622                                 "type"          => "string",
623                                 "default"       => "",
624                                 "description"   => "",
625                                 "check"         => "",
626                                 "migrate"       => "",
627                                 "group"         => "core",
628                                 "mandatory"     => FALSE),
630                         array(
631                                 "name"          => "sambaRidBase",
632                                 "type"          => "string",
633                                 "default"       => "",
634                                 "description"   => "",
635                                 "check"         => "",
636                                 "migrate"       => "",
637                                 "group"         => "core",
638                                 "mandatory"     => FALSE),
640                         array(
641                                 "name"          => "enableSnapshots",
642                                 "type"          => "string",
643                                 "default"       => "",
644                                 "description"   => "",
645                                 "check"         => "",
646                                 "migrate"       => "",
647                                 "group"         => "core",
648                                 "mandatory"     => FALSE),
650                         array(
651                                 "name"          => "snapshotBase",
652                                 "type"          => "string",
653                                 "default"       => "",
654                                 "description"   => "",
655                                 "check"         => "",
656                                 "migrate"       => "",
657                                 "group"         => "core",
658                                 "mandatory"     => FALSE),
660                         array(
661                                 "name"          => "snapshotAdminDn",
662                                 "type"          => "string",
663                                 "default"       => "",
664                                 "description"   => "",
665                                 "check"         => "",
666                                 "migrate"       => "",
667                                 "group"         => "core",
668                                 "mandatory"     => FALSE),
670                         array(
671                                 "name"          => "snapshotAdminPassword",
672                                 "type"          => "string",
673                                 "default"       => "",
674                                 "description"   => "",
675                                 "check"         => "",
676                                 "migrate"       => "",
677                                 "group"         => "core",
678                                 "mandatory"     => FALSE),
680                         array(
681                                 "name"          => "snapshotURI",
682                                 "type"          => "string",
683                                 "default"       => "",
684                                 "description"   => "",
685                                 "check"         => "",
686                                 "migrate"       => "",
687                                 "group"         => "core",
688                                 "mandatory"     => FALSE)
689                             ),
691                         "plProvidedAcls"    => array(
692                                 "accessTo"          => _("System trust"),
693                                 "cn"                => _("Name"),
694                                 "description"       => _("Description"),
695                                 "sudoUser"          => _("Users"),
696                                 "sudoHost"          => _("Host"),
697                                 "sudoCommand"       => _("Command"),
698                                 "sudoRunAs"         => _("Run as user"),
699                                 "trustModel"        => _("Access control list"))
700                             )
701                             );
702     }
704 ?>