Duplicate Lists (#603)
Fix buckets not being duplicated correctly Fix list id param not working Add api endpoint Add swagger docs Add comment about test Make duplicating actually work Add copying link shares Add copying list backgrounds Add copying task relations Add copying task comments Add copying assignees Add copying task task label relations Add copying task attachments Add duplicating tasks Add basic struct and methods Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/603
This commit is contained in:
@ -98,7 +98,7 @@ func (l *List) CanDelete(a web.Auth) (bool, error) {
|
||||
|
||||
// CanCreate checks if the user can create a list
|
||||
func (l *List) CanCreate(a web.Auth) (bool, error) {
|
||||
// A user can create a list if he has write access to the namespace
|
||||
// A user can create a list if they have write access to the namespace
|
||||
n := &Namespace{ID: l.NamespaceID}
|
||||
return n.CanWrite(a)
|
||||
}
|
||||
|
Reference in New Issue
Block a user