mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-21 06:51:19 +08:00
Add perm to versions log
This commit is contained in:
parent
fd2691a48b
commit
25cf62e383
@ -88,6 +88,8 @@ public class VersionsController extends HangarController {
|
||||
return null; // TODO implement downloadJarById request controller
|
||||
}
|
||||
|
||||
@GlobalPermission(NamedPermission.VIEW_LOGS)
|
||||
@Secured("ROLE_USER")
|
||||
@RequestMapping("/{author}/{slug}/versionLog")
|
||||
public ModelAndView showLog(@PathVariable String author, @PathVariable String slug, @RequestParam String versionString) {
|
||||
ModelAndView mv = new ModelAndView("projects/versions/log");
|
||||
|
Loading…
Reference in New Issue
Block a user