issues
search
Ma-Kas
/
kansaibeyond
Monorepo for a blog and travel website, consisting of frontend, backend, and headless cms.
https://www.kansaibeyond.com
0
stars
0
forks
source link
Table deletion behaviour questions
#53
Closed
Ma-Kas
closed
6 months ago
Ma-Kas
commented
6 months ago
User:
Paranoid mode;
when user is "deleted", all posts associated with it will have a userId of NULL, so display "Deleted User"?
Post:
Paranoid mode
Starts with status 'draft', can be edited to different status
On delete, only set status to 'trash', but don't actually delete
On delete if already on 'trash' status, actually "delete" it (paranoid mode)
Tag:
If post uses this tag, disallow deletion?
Can posts have NO tags? Max tags?
Category:
If post uses this category, disallow deletion?
Can posts have NO categories? Max categories?
Ma-Kas
commented
6 months ago
User:
Don't delete period. Just set disabled: true;
Post:
Exactly like written
Tag:
If tag is used, confirmation popup with posts that use tag. Confirm delete tag, or cancel.
Post needs at least 1 tag
Category:
If category is used, confirmation popup with posts that use category. Confirm delete category, or cancel.
Post needs at least 1 category
User:
Post:
Tag:
Category: