summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/handler/cvetool/new.go')
-rw-r--r--pkg/app/handler/cvetool/new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/handler/cvetool/new.go b/pkg/app/handler/cvetool/new.go
index 782efd7..10a1f23 100644
--- a/pkg/app/handler/cvetool/new.go
+++ b/pkg/app/handler/cvetool/new.go
@@ -16,7 +16,7 @@ func New(w http.ResponseWriter, r *http.Request) {
user := utils.GetAuthenticatedUser(r)
- if !user.Permissions.Glsa.View {
+ if !user.Permissions.CVETool.AddCVE {
authentication.AccessDenied(w, r)
return
}