1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

création d'une permission pour faire les crédits uniquement

This commit is contained in:
bleizi 2023-06-12 18:29:23 +02:00
parent 84fc77696f
commit 30afa6da0a
No known key found for this signature in database
GPG Key ID: D46D7E3364433208

View File

@ -3079,6 +3079,22 @@
"description": "Transférer de l'argent depuis une note amie en restant positif"
}
},
{
"model": "permission.permission",
"pk": 197,
"fields": {
"model": [
"note",
"specialtransaction"
],
"query": "{\"source__notespecial__gte\":0}",
"type": "add",
"mask": 2,
"field": "",
"permanent": false,
"description": "Créer un crédit quelconque"
}
},
{
"model": "permission.role",
"pk": 1,
@ -3734,7 +3750,6 @@
6,
24,
25,
26,
27,
30,
34,
@ -3752,7 +3767,8 @@
167,
168,
176,
177
177,
197
]
}
},