5324-Guillaume s feedback in PR

This commit is contained in:
odain
2023-06-28 21:31:11 +02:00
parent 07eadb3ea7
commit 427fc6f9f9
3 changed files with 8 additions and 12 deletions

View File

@@ -1595,7 +1595,7 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'security.single-profile-completion' => [
'security.single_profile_completion' => [
'type' => 'array',
'description' => 'Non standalone profiles can be completed by other profiles via this configuration. default configuration is equivalent to [\'Portal power user\' => \'Portal user\'] configuration. unless you have specific portal customization.',
'default' => null,

View File

@@ -545,20 +545,16 @@
</profile>
</profiles>
<dictionaries>
<dictionary id="EN US" _alteration="added">
<english_description>English</english_description>
<localized_description>English</localized_description>
<dictionary id="EN US">
<entries>
<entry id="Class:User/NonStandaloneProfileWarning" _alteration="added">User profile %1$s cannot be standalone. You should add
other prrofiles otherwise you may encounter access issue with this user.</entry>
<entry id="Class:User/NonStandaloneProfileWarning" _delta="define">User profile %1$s cannot be standalone. You should add
other profiles otherwise you may encounter access issue with this user.</entry>
</entries>
</dictionary>
<dictionary id="FR FR" _alteration="added">
<english_description>French</english_description>
<localized_description>Français</localized_description>
<dictionary id="FR FR">
<entries>
<entry id="Core:DeletedObjectLabel" _alteration="added">Le profil %1$s ne peut être seul. Sans rajout d'autres profiles,
l'utilisateur peut rencontrer des problèmes dans iTop.</entry>
<entry id="Class:User/NonStandaloneProfileWarning" _delta="define">Le profil %1$s ne peut être seul. Sans le rajout d'autres
profiles, l'utilisateur peut rencontrer des problèmes dans iTop.</entry>
</entries>
</dictionary>
</dictionaries>

View File

@@ -24,7 +24,7 @@ define('POWER_USER_PORTAL_PROFILE_NAME', 'Portal power user');
*/
class UserProfilesEventListener implements iEventServiceSetup
{
const USERPROFILE_REPAIR_ITOP_PARAM_NAME = 'security.single-profile-completion';
const USERPROFILE_REPAIR_ITOP_PARAM_NAME = 'security.single_profile_completion';
private $bIsRepairmentEnabled = false;
//map: non standalone profile name => repairing profile id