Files
vikunja/pkg/models
kolaente d77e9d07bf fix(labels): return 403 instead of panicking on bulk label replace
A write-enabled link share clears LabelTaskBulk.CanCreate, which only
checks task write access. UpdateTaskLabels then rejects any label the
share cannot see and built the error with an unchecked type assertion to
*user.User, so creator.(*user.User) yielded nil and .ID panicked - a
clean 403 became a recovered panic and a 500.

Use creator.GetID(), matching how ErrNoPermissionToSeeTask is built a
few lines up.
2026-08-27 22:28:51 +02:00
..