This is an automated email from the ASF dual-hosted git repository. myrle pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/fineract-cn-accounting.git
commit c0e7a66aed3a0b33f69571c2026ff08c60cb7ece Author: mgeiss <[email protected]> AuthorDate: Tue Oct 10 20:15:06 2017 +0200 added new permittable group for income stmt --- api/src/main/java/io/mifos/accounting/api/v1/PermittableGroupIds.java | 1 + .../io/mifos/accounting/service/rest/IncomeStatementController.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/io/mifos/accounting/api/v1/PermittableGroupIds.java b/api/src/main/java/io/mifos/accounting/api/v1/PermittableGroupIds.java index 9be3701..6c5cb2e 100644 --- a/api/src/main/java/io/mifos/accounting/api/v1/PermittableGroupIds.java +++ b/api/src/main/java/io/mifos/accounting/api/v1/PermittableGroupIds.java @@ -22,5 +22,6 @@ public interface PermittableGroupIds { String THOTH_ACCOUNT = "accounting__v1__account"; String THOTH_JOURNAL = "accounting__v1__journal"; String THOTH_TX_TYPES = "accounting__v1__tx_types"; + String THOTH_INCOME_STMT = "accounting__v1__income_stmt"; } diff --git a/service/src/main/java/io/mifos/accounting/service/rest/IncomeStatementController.java b/service/src/main/java/io/mifos/accounting/service/rest/IncomeStatementController.java index 49028da..fb25d73 100644 --- a/service/src/main/java/io/mifos/accounting/service/rest/IncomeStatementController.java +++ b/service/src/main/java/io/mifos/accounting/service/rest/IncomeStatementController.java @@ -40,7 +40,7 @@ public class IncomeStatementController { this.incomeStatementService = incomeStatementService; } - @Permittable(value = AcceptedTokenType.TENANT, groupId = PermittableGroupIds.THOTH_LEDGER) + @Permittable(value = AcceptedTokenType.TENANT, groupId = PermittableGroupIds.THOTH_INCOME_STMT) @RequestMapping( method = RequestMethod.GET, produces = {MediaType.APPLICATION_JSON_VALUE}, -- To stop receiving notification emails like this one, please contact [email protected].
