biigle / label-trees

:m: BIIGLE module to create, edit and manage label trees
0 stars 0 forks source link

Detach unauthorized projects if a label tree becomes private #23

Closed mzur closed 6 years ago

mzur commented 7 years ago

If a label tree is private and the authorization of a project is removed, the label tree will be detached from the project, too. However, if the label tree is changed from public to private, it isn't detached from any project even if they are not authorized. Change this behavior to be more consistent. This means that, in the event that a label tree becomes private, all projects that are not authorized should be detached.