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

[Shareable brains]: 7- AAU, I can unsubscribe from a brain #538

Closed
gozineb opened this issue Jul 6, 2023 · 1 comment
Closed

[Shareable brains]: 7- AAU, I can unsubscribe from a brain #538

gozineb opened this issue Jul 6, 2023 · 1 comment
Assignees

Comments

@gozineb
Copy link
Contributor

gozineb commented Jul 6, 2023

Epic

#400

Functional

A user can decide to unsubscribe to a brain.

  • If the user is the 'reader/editor' -> on click on the 'bin', he will unsubscribe to the brain -> call delete on /brain/{brain_id}/subscription
  • If the user is the 'Owner', he is the only owner -> the brain will get deleted
  • If the user is not the only 'Owner' -> the brain wont get deleted but the entry brains_users for that brain_id et user_id

Schema

Tech

  • [] To-do

Tests

  • [] it ...

Validation Checks

  • [] it ...
@gozineb gozineb changed the title [Shareable brains]: AAU, I can unsubscribe from a brain [Shareable brains]: 7- AAU, I can unsubscribe from a brain Jul 6, 2023
@mamadoudicko
Copy link
Contributor

Screenshot 2023-07-13 at 15 06 25

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

No branches or pull requests

3 participants