From 85b74feb86525093680026813f60997337b4f807 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 22 Sep 2020 18:12:50 +0200 Subject: [PATCH] LSaddon SUPANN: add supannCheckEntityCouldBeDeleted() function --- src/includes/addons/LSaddons.supann.php | 37 +++++++++++++++++- src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 63298 -> 63443 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 24 +++++++----- src/lang/ldapsaisie.pot | 14 ++++--- 4 files changed, 58 insertions(+), 17 deletions(-) diff --git a/src/includes/addons/LSaddons.supann.php b/src/includes/addons/LSaddons.supann.php index 4eb30f34..c433e0bc 100644 --- a/src/includes/addons/LSaddons.supann.php +++ b/src/includes/addons/LSaddons.supann.php @@ -35,10 +35,13 @@ LSerror :: defineError('SUPANN_SUPPORT_03', // Autres erreurs LSerror :: defineError('SUPANN_01', - ___("SUPANN Support : The attribute %{dependency} is missing. Unable to forge the attribute %{attr}.") + ___("SUPANN: The attribute %{dependency} is missing. Unable to forge the attribute %{attr}.") ); LSerror :: defineError('SUPANN_02', - ___("SUPANN Support : Can't get the basedn of entities. Unable to forge the attribute %{attr}.") + ___("SUPANN: Can't get the basedn of entities. Unable to forge the attribute %{attr}.") +); +LSerror :: defineError('SUPANN_03', + ___("SUPANN: This entity have children entities and could be deleted.") ); /** @@ -539,3 +542,33 @@ function supannCheckEduPersonPrimaryAffiliation(&$ldapObject) { function generate_eduPersonPrincipalName($ldapObject) { return $ldapObject -> getFData($GLOBALS['LS_SUPANN_EPPN_FORMAT']); } + +/** + * Vérifie si une entité SUPANN peux être suprimée. + * + * Cette fonction est prévue pour pouvoir être utilisé comme paramètre + * before_delete de la configuration du type d'objet correspondant aux + * entités SUPANN. Elle vérifie que l'entité n'a pas d'entité fille + * avant suppression. Si au moins une entité fille est trouvée, la + * suppression est bloquée et une message d'erreur est affiché. + * + * Note: Cette fonction peut également être utilisé pour le type d'objet + * correspond aux établissements. + * + * @param[in] &$ldapObject Une référence à l'object LSldapObject + * + * @retval boolean True si la valeur est valide, False sinon + **/ +function supannCheckEntityCouldBeDeleted($ldapObject) { + $children = $ldapObject -> listObjectsInRelation( + $ldapObject, + 'supannCodeEntiteParent', + $GLOBALS['LS_SUPANN_LSOBJECT_ENTITE_TYPE'], + 'supannCodeEntite' + ); + if ($children) { + LSerror :: addErrorCode('SUPANN_03'); + return false; + } + return true; +} diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo index 4e4107875111de2aefa72d192a892ecd976550be..4a014e8264081ca0b543a8645bd7f55ff12d7c78 100644 GIT binary patch delta 10687 zcmZA62YgT0|Htu**ei$#f^TBQ-YZrRA!cGm%pfF01c}{z%~};DMvYQhdlacrR1r1W z+SI7lDCK8XwW@yl>;Lusp3}#pkN z&f+-!*rA}~%+KmLlS`}BadrkdPEp*28B`OIC86${3A$$xN(@pI|AxfIj%# z>P2T>>J&#`$8kF?Nm|m-3)|o-)C=yR2J|O-qi+>sMa)m#5dAO=b7FrC#Gx2~b1^q= z!y>pB)$eNz$BS5x^E>_wm)z-sI&mt7U^+(PWsJrOTy_hbiVZOnb%M938Ol-JalFtU zD`EiVz;M)wBakb0qA)v-L?6!Yq>$)J=VAxkh=uSs)D-5ZVWzem=A&+fo&(xC3iHq& ziyA-@=EoG4d^)PZkVAD~Y795tY~sQv|NntL38dR-^f z{-LOum|$Iiy0G=A899bpGmo$nR;tDPw)P!Mx~O z+bqgJYg;Tsdm?J)($I6I7)G6e-SG{EVniM0zZJ=nI*!v8ucLMZ)-@v@iZnS3usLR; z2Ar*)d0jYmrJj$Gcn39ub?Q3~U7f~Q4wJ9~F2VMA2zel!TPk4C*->^K8x zm|(qu+!d#B6UP~a2QdY!HTAr}`51dp7h)yFVH}Rc3pfm0aGwt2Hq`5fhnV&susd~I zo?#7OHAd@9e!TniqhSno#*3(X8OXw5&`vVyp6x)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cSE;oHQ2x6et=vF{f=kFi)-4K)8RP;r^qMf|Kvws7J_ z^7nB*_Q7qqnkYoMBfgI5I0GvaiNxFFU5SB|*JBUdPK={mnK(sxF_D9EH6lDaNqypb zVjMAuN^N>MZL~#Git+^FV{br6pr?atantR6&SVM|34h`sF^YCaT-zXQMBO*U0pj`A z$?boh=O#Z%j3K@!`m$pQW_#X1BNjjsMP(jW*@LpS;dlbC;VsNXJSFmx4?=y*s6@;q z(unrd2V*s&7-ek}h{wc!@+rhsVvXDPF3$8}##+)~7g2zUlem}omC&|@@TI;uQJ;t> zc4zIee;cbyex3XxKHrW}s6c+0ctt@znh2(Rh-gg25Z817*U$QD*^UZr=PV{Cc^As- zuqMuP^-J)$YkL7(llO7?GuI}!^C2d(?-DW9)z!i|\n" "Language-Team: LdapSaisie \n" @@ -194,25 +194,29 @@ msgstr "Support SUPPAN : Le tableau global %{array} n'est pas définie." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:38 msgid "" -"SUPANN Support : The attribute %{dependency} is missing. Unable to forge the " +"SUPANN: The attribute %{dependency} is missing. Unable to forge the " "attribute %{attr}." msgstr "" -"Support SUPANN : L'attribut %{dependency} est manquant. Impossible de " -"générer l'attribut %{attr}." +"SUPANN : L'attribut %{dependency} est manquant. Impossible de générer " +"l'attribut %{attr}." #: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:41 msgid "" -"SUPANN Support : Can't get the basedn of entities. Unable to forge the " -"attribute %{attr}." +"SUPANN: Can't get the basedn of entities. Unable to forge the attribute " +"%{attr}." msgstr "" -"Support SUPANN : Impossible de récupérer le basedn des entités. Impossible " -"de générer l'attribut %{attr}." +"SUPANN : Impossible de récupérer le basedn des entités. Impossible de " +"générer l'attribut %{attr}." -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:316 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:44 +msgid "SUPANN: This entity have children entities and could be deleted." +msgstr "SUPANN : Cette entité a des entités filles et ne peut être supprimée." + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:319 msgid "Entity %{id} (unrecognized)" msgstr "Entité %{id} (non-reconnue)" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:411 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:414 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select.php:58 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:102 msgid "%{value} (unrecognized value)" diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index 597643dc..70bcdf8e 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -147,21 +147,25 @@ msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:38 msgid "" -"SUPANN Support : The attribute %{dependency} is missing. Unable to forge the " +"SUPANN: The attribute %{dependency} is missing. Unable to forge the " "attribute %{attr}." msgstr "" #: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:41 msgid "" -"SUPANN Support : Can't get the basedn of entities. Unable to forge the " -"attribute %{attr}." +"SUPANN: Can't get the basedn of entities. Unable to forge the attribute " +"%{attr}." msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:316 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:44 +msgid "SUPANN: This entity have children entities and could be deleted." +msgstr "" + +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:319 msgid "Entity %{id} (unrecognized)" msgstr "" -#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:411 +#: /home/brenard/dev/ldapsaisie_clean3/src/includes/addons/LSaddons.supann.php:414 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select.php:58 #: /home/brenard/dev/ldapsaisie_clean3/src/includes/class/class.LSformElement_select_object.php:102 msgid "%{value} (unrecognized value)"