Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove project from app if security token does not exist #468

Merged
merged 13 commits into from
Sep 29, 2020

Conversation

yongbing-chen
Copy link
Contributor

@yongbing-chen yongbing-chen commented Aug 3, 2020

No description provided.

else {
const decryptedProject = { ...project, sourceConnection };
await projectService.delete(decryptedProject);
dispatch(deleteProjectAction(decryptedProject));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can only remove project from FoTT tool, but make sure we didn't delete the project file, otherwise, someone can delete others project file with this method.

kunzms
kunzms previously approved these changes Aug 4, 2020
@kunzms kunzms changed the title Yongbing chen/delete project without token feat: remove project from app if security token does not exist Aug 4, 2020
@yongbing-chen yongbing-chen self-assigned this Aug 7, 2020
@yongbing-chen yongbing-chen removed the request for review from alex-krasn August 17, 2020 09:02
@yongbing-chen yongbing-chen requested a review from stew-ro August 20, 2020 04:23
Copy link
Contributor

@stew-ro stew-ro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't removing the project from the app for me when I try to open a project from the home page and I don't have a security token

@yongbing-chen yongbing-chen requested a review from stew-ro August 21, 2020 06:44
@yongbing-chen yongbing-chen merged commit 730e196 into master Sep 29, 2020
@yongbing-chen yongbing-chen deleted the yongbing-chen/delete-project-without-token branch September 29, 2020 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FOTT bug report: if user delete token used by a project, then user can't delete the project
3 participants