Github user ilgrosso commented on a diff in the pull request:
https://github.com/apache/syncope/pull/18#discussion_r65673143
--- Diff:
core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
---
@@ -84,6 +85,12 @@ public ReportTemplateTO transform(final ReportTemplate
input) {
@PreAuthorize("hasRole('" + StandardEntitlement.REPORT_TEMPLATE_CREATE
+ "')")
public ReportTemplateTO create(final String key) {
+ for (ReportTemplateTO reportTemplateTO: list()) {
--- End diff --
Take a look at
[ResourceLogic](https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java#L121-L123)
and do accodingly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---