Browse Source

- Enforce users to be created with at least one profile

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@868 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 years ago
parent
commit
15609241a9
2 changed files with 2 additions and 0 deletions
  1. 1 0
      dictionaries/dictionary.itop.ui.php
  2. 1 0
      dictionaries/fr.dictionary.itop.ui.php

+ 1 - 0
dictionaries/dictionary.itop.ui.php

@@ -112,6 +112,7 @@ Dict::Add('EN US', 'English', 'English', array(
 	'Class:User/Attribute:allowed_org_list+' => 'The end user is allowed to see data belonging to the following organizations. If no organization is specified, there is no restriction.',
 
 	'Class:User/Error:LoginMustBeUnique' => 'Login must be unique - "%1s" is already being used.',
+	'Class:User/Error:AtLeastOneProfileIsNeeded' => 'At least one profile must be assigned to this user.',
 ));
 
 //

+ 1 - 0
dictionaries/fr.dictionary.itop.ui.php

@@ -112,6 +112,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
 	'Class:User/Attribute:allowed_org_list+' => 'L\'utilisateur a le droit de voir les données des organisations listées ici. Si aucune organisation n\'est spécifiée, alors aucune restriction ne s\'applique.',
 
 	'Class:User/Error:LoginMustBeUnique' => 'Le login doit être unique - "%1s" est déjà utilisé.',
+	'Class:User/Error:AtLeastOneProfileIsNeeded' => 'L\'utilisateur doit avoir au moins un profil.',
 ));
 
 //