can delete
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user