Auto-delete files that a user no longer has access to.

5 views
Skip to first unread message

pa...@healthytechnology.com.au

unread,
Sep 7, 2018, 7:41:52 AM9/7/18
to TortoiseSVN
Scenario:

A user creates a new directory with no restrictions and puts some sensitive files in to it.

Everybody else updates their checked out repo and gets a copy of those files.

The directory that was created then gets permissions applied to it to restrict the users that have access to it.


Question:

Is there an existing script or tool or Tortoise configuration that can compare the checked out files and folders a user has to their current level of access and automatically delete anything they no longer have access to?

Stefan

unread,
Sep 7, 2018, 10:27:35 AM9/7/18
to TortoiseSVN
you should set up the authorization on the repository for this. Once you've done that, every user that doesn't have read authorization for that folder will have all files in that folder deleted automatically on the next update.
Reply all
Reply to author
Forward
0 new messages