VSLCatena / mensa

Enrollment of members for diner
0 stars 1 forks source link

[T.B.R.] Deleting/hiding mensas #83

Open SubSide opened 2 years ago

SubSide commented 2 years ago

As an admin I want to be able to hide/delete mensas so they are not visible for normal users.

Acc 1: The API should not return hidden mensas when the user is not authorized

I don't like hard deletes. Maybe a visibility flag? Or will we just use the soft delete feature of Laravel? And will we allow ways to hard delete?

Kipjr commented 2 years ago

Use the built-in method of soft delete. Hard delete does not look relevant to me in any case

SubSide commented 2 years ago

Use the built-in method of soft delete. Hard delete does not look relevant to me in any case

Well, we want the option for admins to soft-delete mensas so they're not visible anymore for the normal user. But like with the previous mensa, there was also a cancelled state, how do we handle that with soft-delete? Or do we see that as flag?