Skip to content


Browse files Browse the repository at this point in the history
fix: Don't log hashes (DEV-1442) (#2265)
  • Loading branch information
irinaschubert committed Oct 24, 2022
1 parent 3f44354 commit adaf4b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -598,8 +598,6 @@ class OntologyResponderV2(responderData: ResponderData) extends Responder(respon
if (
!(requestingUser.permissions.isProjectAdmin(projectIri.toString) || requestingUser.permissions.isSystemAdmin)
) {
// println(s"requestingUser: $requestingUser")
// println(s"requestingUser.permissionData.isProjectAdmin(<${projectIri.toString}>): ${requestingUser.permissionData.isProjectAdmin(projectIri.toString)}")
throw ForbiddenException(
s"A new ontology in the project ${createOntologyRequest.projectIri} can only be created by an admin of that project, or by a system admin."
Expand Down
Expand Up @@ -39,7 +39,7 @@ class FilesRouteADM(routeData: KnoraRouteData) extends KnoraRoute(routeData) wit
throw BadRequestException(s"Invalid filename: '${projectIDAndFile(1)}'")
_ ="/admin/files route called for filename $filename by user: $requestingUser")
_ ="/admin/files route called for filename $filename by user: ${}")
} yield SipiFileInfoGetRequestADM(
projectID = projectID,
filename = filename,
Expand Down

0 comments on commit adaf4b0

Please sign in to comment.