adamsaghy commented on code in PR #5346:
URL: https://github.com/apache/fineract/pull/5346#discussion_r2727499981


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/note/api/NotesApiResource.java:
##########
@@ -228,7 +229,11 @@ private CommandWrapper getResourceDetails(final NoteType 
type, final Long resour
                 resourceNameForPermissions = GROUPNOTE;
                 resourceDetails.withGroupId(resourceId);
             }
-            default -> resourceNameForPermissions = INVALIDNOTE;
+            case CENTER -> {
+                resourceNameForPermissions = CENTERNOTE;

Review Comment:
   There is no such permission... you must add it before it can be used!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to