Skip to content

Commit

Permalink
Fixed access to org targets to only officer and above #3369
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Dec 11, 2024
1 parent e5ce4c3 commit f036ca9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class OrganisationController {
services = organisationService.findApplicableServices(organisation, metadataService.getProjectServices())
targetPeriods = organisationService.generateTargetPeriods(organisation)
}
boolean showTargets = services != null
boolean showTargets = userService.userIsSiteAdmin() && services && targetPeriods

List reportOrder = null
if (reportingVisible) {
Expand Down

0 comments on commit f036ca9

Please sign in to comment.