1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +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" "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", "model": "permission.role",
"pk": 1, "pk": 1,
@ -3734,7 +3750,6 @@
6, 6,
24, 24,
25, 25,
26,
27, 27,
30, 30,
34, 34,
@ -3752,7 +3767,8 @@
167, 167,
168, 168,
176, 176,
177 177,
197
] ]
} }
}, },