Open tokejepsen opened 6 years ago
On further thought, since there are so many opportunities for creating projects and assets in Avalon, it would currently be impossible to tell whether a project or asset were created in CGWire and therefore needs to be deleted when missing in CGWire.
We could maybe tag projects/assets that were created through CGWire, but that seems like it'll invite complicated code.
Maybe instead we should focus on the --drop
command. This already deletes projects from the database. Maybe instead of a single project name argument, it should have a path argument, so you can drop assets as well as projects?
Goal
To delete entities available in CGWire.
Motivation
When working with CGWire there is already built-in permissions to prevent non-admin people from deleting entities, so the question is whether this should propagate through to the Avalon database?