hcengineering / hcengineering/platform

Attachment removing process

Open
#9,021 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

1. Allow removing only for the person who added the attachment and the author of attachedTo doc (for example – issue) + ws Owner
2. Process of removing itself:
1. When trying to remove – show popup with confirmation and then delete completely from minio, if confirmed
2. Support removing, by creating new attribute `isRemoved` for `Attachment`. When person is removing – set it to true and don’t allow to request it from minio for anyone else rather than who created it. This way we can easily allow to restore it. But i think it will have problems with security
3. Both of the options above + in a popup show a checkbox with `Delete completely` setting

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.