Skip to content

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

Open
susnux wants to merge 2 commits into
masterfrom
feat/versions-wfe
Open

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

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented Apr 13, 2026

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

@susnux susnux added this to the Nextcloud 34 milestone Apr 13, 2026
@susnux susnux requested review from blizzz and salmart-dev April 13, 2026 14:08
@susnux susnux force-pushed the feat/versions-wfe branch from 739e4a5 to 88d7fc9 Compare April 13, 2026 14:11
@susnux susnux marked this pull request as ready for review April 16, 2026 13:18
@susnux susnux requested review from a team as code owners April 16, 2026 13:18
@susnux susnux requested review from nfebe, provokateurin, skjnldsv and sorbaugh and removed request for a team April 16, 2026 13:18
@susnux susnux force-pushed the feat/versions-wfe branch from 88d7fc9 to 5f6ea4f Compare April 16, 2026 13:20
@susnux susnux force-pushed the feat/versions-wfe branch from 5f6ea4f to e68995e Compare May 16, 2026 08:24
Copy link
Copy Markdown
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread apps/files_versions/lib/BlockVersioningOperation.php Outdated
Comment thread apps/files_versions/lib/BlockVersioningOperation.php Outdated
@susnux susnux modified the milestones: Nextcloud 34, Nextcloud 35 May 19, 2026
@susnux susnux force-pushed the feat/versions-wfe branch from 17da8a9 to 443bd31 Compare May 19, 2026 10:27
susnux added 2 commits May 19, 2026 18:59
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>
@susnux susnux force-pushed the feat/versions-wfe branch from 443bd31 to 761b330 Compare May 19, 2026 16:59
Sign up for free to 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