Skip to content

Commit

Permalink
Fix #246
Browse files Browse the repository at this point in the history
  • Loading branch information
F43nd1r committed Apr 22, 2021
1 parent bcbe663 commit 48113a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ class DataService(
entityManager.remove(if (entityManager.contains(entity)) entity else entityManager.merge(entity))
}

@Transactional
@PreAuthorize("T(com.faendir.acra.security.SecurityUtils).hasPermission(#version.app, T(com.faendir.acra.model.Permission\$Level).EDIT)")
fun storeVersion(version: Version): Version = store(version)

Expand Down

0 comments on commit 48113a1

Please sign in to comment.