From 2eceac7754cfd6680329e354494f4355079d83c5 Mon Sep 17 00:00:00 2001 From: Thibault Dockx <thibault.dockx@fusiondirectory.org> Date: Mon, 24 Mar 2025 14:16:31 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(archive):=20add=20attributes?= =?UTF-8?q?=20and=20object=20class=20for=20managing=20archive=20tasks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archive/contrib/openldap/archive-fd.schema | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/archive/contrib/openldap/archive-fd.schema b/archive/contrib/openldap/archive-fd.schema index 58efcc6b27..4e212af449 100644 --- a/archive/contrib/openldap/archive-fd.schema +++ b/archive/contrib/openldap/archive-fd.schema @@ -44,3 +44,39 @@ objectclass (1.3.6.1.4.1.38414.81.2.1 NAME 'fdArchivedObject' fdArchivedField $ fdArchivedUniqueField $ fdArchivedDateTime $ fdArchivedObjectType $ fdArchivedOriginDn ) ) + + + +#### Managing archive tasks #### + +# Attributes + +attributetype ( 1.3.6.1.4.1.38414.81.1.6 NAME 'fdArchiveTaskResource' + DESC 'Fusion Directory - SupAnn resource to be archived' + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.38414.81.1.7 NAME 'fdArchiveTaskState' + DESC 'Fusion Directory - SupAnn state triggering the archive task' + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.38414.81.1.8 NAME 'fdArchiveTaskSubState' + DESC 'Fusion Directory - SupAnn sub-state triggering the archive task' + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.38414.81.1.9 NAME 'fdArchiveTaskMembers' + DESC 'Fusion Directory - List of users or groups to monitor for archiving' + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) + +# Object Class + +objectclass ( 1.3.6.1.4.1.38414.81.2.2 NAME 'fdArchiveTasks' SUP top AUXILIARY + DESC 'FusionDirectory - Archive tasks plugin Object Class' + MUST ( fdArchiveTaskResource $ fdArchiveTaskState $ fdArchiveTaskMembers ) + MAY ( fdArchiveTaskSubState ) ) \ No newline at end of file -- GitLab