You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2019/10/24 11:24:40 UTC
[incubator-dlab] branch DLAB-1206 updated: [DLAB-1206] Added
BillingReportFull role(GCP)
This is an automated email from the ASF dual-hosted git repository.
ofuks pushed a commit to branch DLAB-1206
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1206 by this push:
new 05d390c [DLAB-1206] Added BillingReportFull role(GCP)
05d390c is described below
commit 05d390c5600914878176ac97b993bdc035a6a3fc
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Thu Oct 24 14:24:24 2019 +0300
[DLAB-1206] Added BillingReportFull role(GCP)
---
infrastructure-provisioning/src/ssn/files/gcp/mongo_roles.json | 10 ++++++++++
.../self-service/src/main/resources/mongo/gcp/mongo_roles.json | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/infrastructure-provisioning/src/ssn/files/gcp/mongo_roles.json b/infrastructure-provisioning/src/ssn/files/gcp/mongo_roles.json
index 0dceb3c..cf7b398 100644
--- a/infrastructure-provisioning/src/ssn/files/gcp/mongo_roles.json
+++ b/infrastructure-provisioning/src/ssn/files/gcp/mongo_roles.json
@@ -220,6 +220,16 @@
]
},
{
+ "_id": "nbBillingReportFull",
+ "description": "View full billing report for all users",
+ "pages": [
+ "/api/infrastructure_provision/billing"
+ ],
+ "groups": [
+ "$anyuser"
+ ]
+ },
+ {
"_id": "admin",
"description": "Allow to execute administration operation",
"pages": [
diff --git a/services/self-service/src/main/resources/mongo/gcp/mongo_roles.json b/services/self-service/src/main/resources/mongo/gcp/mongo_roles.json
index 0dceb3c..cf7b398 100644
--- a/services/self-service/src/main/resources/mongo/gcp/mongo_roles.json
+++ b/services/self-service/src/main/resources/mongo/gcp/mongo_roles.json
@@ -220,6 +220,16 @@
]
},
{
+ "_id": "nbBillingReportFull",
+ "description": "View full billing report for all users",
+ "pages": [
+ "/api/infrastructure_provision/billing"
+ ],
+ "groups": [
+ "$anyuser"
+ ]
+ },
+ {
"_id": "admin",
"description": "Allow to execute administration operation",
"pages": [
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org