Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
9e8b876c
Commit
9e8b876c
authored
19 years ago
by
Regis Houssin
Browse files
Options
Downloads
Patches
Plain Diff
Ajout permissions sur création et suppression des contacts
parent
ad456905
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/includes/modules/modSociete.class.php
+7
-0
7 additions, 0 deletions
htdocs/includes/modules/modSociete.class.php
htdocs/langs/en_US/admin.lang
+1
-0
1 addition, 0 deletions
htdocs/langs/en_US/admin.lang
htdocs/langs/fr_FR/admin.lang
+1
-0
1 addition, 0 deletions
htdocs/langs/fr_FR/admin.lang
with
9 additions
and
0 deletions
htdocs/includes/modules/modSociete.class.php
+
7
−
0
View file @
9e8b876c
...
...
@@ -101,6 +101,13 @@ class modSociete extends DolibarrModules
$this
->
rights
[
3
][
3
]
=
0
;
// La permission est-elle une permission par défaut
$this
->
rights
[
3
][
4
]
=
'supprimer'
;
$this
->
rights
[
4
][
0
]
=
261
;
// id de la permission
$this
->
rights
[
4
][
1
]
=
'Lire les contacts'
;
// libelle de la permission
$this
->
rights
[
4
][
2
]
=
'r'
;
// type de la permission (déprécié à ce jour)
$this
->
rights
[
4
][
3
]
=
1
;
// La permission est-elle une permission par défaut
$this
->
rights
[
4
][
4
]
=
'contact'
;
$this
->
rights
[
4
][
5
]
=
'lire'
;
$this
->
rights
[
4
][
0
]
=
262
;
// id de la permission
$this
->
rights
[
4
][
1
]
=
'Créer modifier les contacts'
;
// libelle de la permission
$this
->
rights
[
4
][
2
]
=
'w'
;
// type de la permission (déprécié à ce jour)
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/admin.lang
+
1
−
0
View file @
9e8b876c
...
...
@@ -204,6 +204,7 @@ Permission253=Modify other users password
Permission254=Delete or disable other users
Permission255=Create/modify his own user informations
Permission256=Modify his own password
Permission261=Read contacts
Permission262=Create/modify contacts
Permission263=Delete contacts
Permission300=Read bar codes
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/admin.lang
+
1
−
0
View file @
9e8b876c
...
...
@@ -204,6 +204,7 @@ Permission253=Modifier mot de passe des autres utilisateurs
Permission254=Supprimer ou désactiver les autres utilisateurs
Permission255=Créer/modifier ses propres infos utilisateur
Permission256=Modifier son propre mot de passe
Permission261=Consulter les contacts
Permission262=Créer/modifier les contacts
Permission263=Supprimer les contacts
Permission300=Consulter les codes barres
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment