mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
5324-Guillaume s feedback in PR
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user