can delete

This commit is contained in:
mr
2026-06-05 09:59:14 +02:00
parent 5be3c0a10a
commit 6ee169f444
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -146,5 +146,5 @@ func (r *Booking) CanUpdate(set utils.DBObject) (bool, utils.DBObject) {
}
func (r *Booking) CanDelete() bool {
return r.IsDraft // only draft bookings can be deleted
return true // only draft bookings can be deleted
}
@@ -97,7 +97,7 @@ func (r *WorkflowExecution) CanUpdate(set utils.DBObject) (bool, utils.DBObject)
}
func (r *WorkflowExecution) CanDelete() bool {
return r.IsDraft // only draft bookings can be deleted
return true // only draft bookings can be deleted
}
func (wfa *WorkflowExecution) Equals(we *WorkflowExecution) bool {