Skip to content

feat(files_versions): allow to block version creation using WFE - #59610

Merged
susnux merged 3 commits into
masterfrom
feat/versions-wfe
Jun 1, 2026
Merged

feat(files_versions): allow to block version creation using WFE#59610
susnux merged 3 commits into
masterfrom
feat/versions-wfe

Conversation

@susnux

@susnuxsusnux commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

This allows users to create workflows to block the versions creation for some files, based on tags or other conditions using the workflow engine.
The usecase would be compliance to allow configure some rules to prevent versioning.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnuxsusnux added this to the Nextcloud 34 milestone Apr 13, 2026
@susnux
susnux marked this pull request as ready for review April 16, 2026 13:18
@susnux
susnux requested review from a team as code ownersApril 16, 2026 13:18
@susnux
susnux requested review from nfebe, provokateurin, skjnldsv and sorbaugh and removed request for a teamApril 16, 2026 13:18
@susnux
susnuxforce-pushed the feat/versions-wfe branch from 5f6ea4f to e68995eCompareMay 16, 2026 08:24

@provokateurinprovokateurin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment threadapps/files_versions/lib/BlockVersioningOperation.php Outdated
Comment threadapps/files_versions/lib/BlockVersioningOperation.php Outdated
@susnuxsusnux modified the milestones: Nextcloud 34, Nextcloud 35May 19, 2026
@susnux
susnuxforce-pushed the feat/versions-wfe branch 2 times, most recently from 443bd31 to 761b330CompareMay 19, 2026 16:59
susnux added 3 commits May 27, 2026 10:46
This allows users to create workflows to block the versions creation
for some files, based on tags or other conditions using the workflow
engine.
The usecase would be compliance to allow configure some rules to prevent
versioning.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnuxforce-pushed the feat/versions-wfe branch from 761b330 to 7e3b805CompareMay 27, 2026 09:26
@susnux
susnux merged commit f8f5e9e into masterJun 1, 2026
312 of 339 checks passed
@susnux
susnux deleted the feat/versions-wfe branch June 1, 2026 16:05
@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable34

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to disable file versioning for certain paths, extensions, filesizes, etc

4 participants

@susnux@salmart-dev@provokateurin@artonge