VariantEffect / mavedb-api

MaveDB API
GNU Affero General Public License v3.0
8 stars 2 forks source link

Fixed: Published Data Can Be Deleted #195

Closed bencap closed 2 months ago

bencap commented 2 months ago

Fixes #191

Alters permissions.py so that owners may only delete unpublished data. Adds score set and experiment tests to verify this behavior.

Includes an already merged cherry pick (https://github.com/VariantEffect/mavedb-api/pull/189/commits/b7918ac9a1518fc335e6aa5e3ac9c6f46e8b8823) so that new experiment deletion tests can pass.