go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
758 stars 55 forks source link

403 Forbidden when adding Label in Share Link #252

Closed smith3d closed 2 months ago

smith3d commented 2 months ago

Description

Tested with Read and Write / Admin Permission

When adding Label to it.

Request URL: https://try.vikunja.io/api/v1/labels Request Method: PUT Status Code: 403 Forbidden Referrer Policy: strict-origin-when-cross-origin

https://try.vikunja.io/tasks/71#share-auth-token=pmX3ztBJqwizk8K8DKNMQZa9jL8qmaopBRBfyfyf

Vikunja Version

Version: v0.23.0

Browser and version

Chrome, Edge

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

kolaente commented 2 months ago

Are you able to add existing labels?

smith3d commented 2 months ago

unable too. same thing happens.

kolaente commented 2 months ago

Fixed in https://github.com/go-vikunja/vikunja/commit/574c7f218ebaa6593e8f644d4f981b2dd60c210f, please check with the next unstable build (should be ready for deployment in ~45min, also on try).

It is now possible to add existing labels to a task when authenticated as a link share. Creating labels as a link share is not possible, but that's by design (for now).

smith3d commented 2 months ago

thanks working perfectly.