Auto expiration (deletion) of folders
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
My Problem
I am the admin of a rather large Nextcloud instance where we use group folders. It has gone a little out of hand and there are many group folders that aren't used anymore and should be deleted. But no one feels responsible for these folders anymore thus it is an organizational nightmare to contact everyone regarding their group folders and delete them by hand.
Proposed Solution
I am proposing a feature, that would allow setting an expiration date for a group folder after which it is deleted. There should be two distinct settings for this.
A) After the set time the group folder is deleted.
B) The set time is calculated from the last modification to the group folder. That would mean that as long as a groupfolder is actively used, it never expires. But when no one is using it anymore, the time ticks down and the folder is deleted.
Alternatives Considered
Setting a policy on the admin side that would allow me to delete groupfolders after a set time or a set time of inactivity. But this again would mean more work for me for a task that could be automated.
How to use GitHub
- Please use the 👍 reaction to show that you are interested in the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status changes and new comments.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the group-folder implementation and its administration settings, then determine how expiration and inactivity are represented; done means supporting both proposed expiration modes and deleting eligible group folders safely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100