mirror of https://gitlab.crans.org/bde/nk20
Add permission for treasurers to update the validation status of a transaction
This commit is contained in:
parent
2c7995a79e
commit
71f6daf0e8
|
@ -2200,6 +2200,22 @@
|
|||
"description": "View my past activities"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "permission.permission",
|
||||
"pk": 127,
|
||||
"fields": {
|
||||
"model": [
|
||||
"note",
|
||||
"transaction"
|
||||
],
|
||||
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": true}]]",
|
||||
"type": "change",
|
||||
"mask": 1,
|
||||
"field": "valid",
|
||||
"permanent": false,
|
||||
"description": "Update validation status of a club transaction if possible"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "permission.rolepermissions",
|
||||
"pk": 1,
|
||||
|
@ -2287,7 +2303,8 @@
|
|||
27,
|
||||
60,
|
||||
61,
|
||||
62
|
||||
62,
|
||||
127
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue