mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-04 02:47:03 +00:00
feat!: rename right to permission (#1277)
This commit is contained in:
@@ -94,7 +94,7 @@ func NewLinkShareJWTAuthtoken(share *models.LinkSharing) (token string, err erro
|
||||
claims["id"] = share.ID
|
||||
claims["hash"] = share.Hash
|
||||
claims["project_id"] = share.ProjectID
|
||||
claims["right"] = share.Right
|
||||
claims["permission"] = share.Permission
|
||||
claims["sharedByID"] = share.SharedByID
|
||||
claims["exp"] = exp
|
||||
claims["isLocalUser"] = true // Link shares are always local
|
||||
|
||||
Reference in New Issue
Block a user