
Allow user get current month estimated cost. The output data structure is the same with /invoices api. Also remove the unused /costs api and rater module. Change-Id: I582afa6cf7e5b86cc54db58ead501793e727bfd6
10 lines
311 B
Plaintext
10 lines
311 B
Plaintext
{
|
|
"context_is_admin": "role:admin",
|
|
"admin_or_owner": "is_admin:True or project_id:%(project_id)s",
|
|
"default": "rule:admin_or_owner",
|
|
|
|
"rating:measurements:get": "rule:context_is_admin",
|
|
"rating:invoices:get": "rule:context_is_admin",
|
|
"rating:quotations:get": "rule:context_is_admin",
|
|
}
|