pierrepo / MalariaSmearSearch

Blood smears database for malaria diagnosis :microscope:
GNU General Public License v3.0
1 stars 0 forks source link

Sample deletion #170

Closed nanls closed 7 years ago

nanls commented 7 years ago

Authenticated users can delete sample + chunks + annotations

pierrepo commented 7 years ago

What is the status of this PR? Ready to merge?

nanls commented 7 years ago

Yes, it is. But there is no handling of user's rights : every connected users can ask to delete sample + its chunks + its annotations.

pierrepo commented 7 years ago

Can you display the delete button:

  1. only if a user is connected
  2. only if the institution of the sample is one of the user's institutions
nanls commented 7 years ago

Let's start a new PR to handle users rights on every situation it is needed.

pierrepo commented 7 years ago

OK.