Website URL
<private>
Chevereto version
3.10.13
Description of the issue
I need an initial statement so I can implement the following function:
With delete permission enabled, but I want to change the delete function.
What would have to be done when deleting IMAGE:
> "DELETE" IMAGE
1) Instead of delete from in the table images, execute update in column USER_ID switching to VISITOR. Hiding from his vision.
2) Do not delete image from folder.
> "DELETE" ALBUM
What would have to be done when deleting ALBUM:
1) Instead of delete from in the table album, execute update in column USER_ID switching to VISITOR. Hiding from his vision.
2) Do not delete image from folder.
3) UPDATE images to album NULL.
Is there any other problem?
Where do I start? Do you already have something similar ready?
<private>
Chevereto version
3.10.13
Description of the issue
I need an initial statement so I can implement the following function:
With delete permission enabled, but I want to change the delete function.
What would have to be done when deleting IMAGE:
> "DELETE" IMAGE
1) Instead of delete from in the table images, execute update in column USER_ID switching to VISITOR. Hiding from his vision.
2) Do not delete image from folder.
> "DELETE" ALBUM
What would have to be done when deleting ALBUM:
1) Instead of delete from in the table album, execute update in column USER_ID switching to VISITOR. Hiding from his vision.
2) Do not delete image from folder.
3) UPDATE images to album NULL.
Is there any other problem?
Where do I start? Do you already have something similar ready?