soderlind/vmfa-editorial-workflow 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

soderlind/vmfa-editorial-workflow

Composer 安装命令:

composer require soderlind/vmfa-editorial-workflow

包简介

Role-based folder access, move restrictions, and Inbox workflow for Virtual Media Folders.

README 文档

README

Role-based folder access, move restrictions, and Inbox workflow for Virtual Media Folders.

Description

This add-on extends Virtual Media Folders with enterprise-grade editorial workflow features:

  • Per-role folder visibility — Control which folders each role can see
  • Move/assignment restrictions — Define who can move media into which folders
  • Inbox workflow — Contributors upload to an inbox; editors triage and move onward
  • Review workflow — Track items needing review with dedicated admin screen
  • Internationalization — Fully translatable with Norwegian Bokmål included

Requirements

Installation

Recommended: Use the Add-On Manager to install the add-on.

Manual installation:

  1. Download vmfa-editorial-workflow.zip
  2. Upload via Plugins → Add New → Upload Plugin
  3. Activate via WordPress Admin → Plugins

Plugin updates are handled automatically via GitHub. No need to manually download and install updates.

Configuration

Folder Permissions

Navigate to Media → VMF Settings → Editorial Workflow to configure:

  1. Permission Matrix — Set view/move/upload/remove permissions per folder per role
  2. Inbox Mapping — Assign default upload folders for each role
  3. Approved Folder — Choose which folder approved items are moved to

Supported Roles

The permission settings automatically include all roles that have the upload_files capability — not just Editor and Author. This means custom roles are fully supported:

  • Custom roles like "Contributor with upload" or "Shop Manager" will appear automatically
  • Any role granted the upload_files capability via plugins (e.g., Members, User Role Editor) will be configurable
  • Administrator is excluded from settings as they always have full access to all folders

To add the upload_files capability to a custom role, you can use a role management plugin or run the following WP-CLI command:

# Example: Grant 'upload_files' capability to a custom role
wp role create media_contributor "Media Contributor" --clone=subscriber 
wp cap add media_contributor upload_files

Default Permissions

Out of the box, the plugin applies sensible defaults:

  • Editor — Full access to all folders by default (can be restricted via settings)
  • Author — No access by default (must be explicitly granted permissions)
  • Custom roles — No access by default (must be explicitly granted permissions)

Permission Types

Permission Description
View Can see the folder in the sidebar and browse media inside it
Move To Can drag-and-drop or assign media INTO this folder
Upload To New uploads from this role can be routed to this folder via Inbox Mapping
Delete Can delete this folder (system folders are always protected)

Note: Moving media from Folder A to Folder B only requires "Move To" permission on Folder B (and "View" on both). Anyone can remove media to Uncategorized.

Workflow Folders

On activation, the plugin creates protected system folders:

  • /Workflow/Needs Review — Items pending editorial review
  • /Workflow/Approved — Items that have been approved

These folders cannot be renamed or deleted.

Review Screen

Access Media → Review to:

  • View all items needing review
  • Bulk approve items (moves to Approved folder)
  • Bulk assign items to destination folders
  • See notification badge with count of pending items

Development

See docs/development.md for build instructions, testing, hooks reference, and REST API documentation.

License

GPL-2.0-or-later

soderlind/vmfa-editorial-workflow 适用场景与选型建议

soderlind/vmfa-editorial-workflow 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 01 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「media」 「plugin」 「wordpress」 「workflow」 「permissions」 「folders」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 soderlind/vmfa-editorial-workflow 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 soderlind/vmfa-editorial-workflow 我们能提供哪些服务?
定制开发 / 二次开发

基于 soderlind/vmfa-editorial-workflow 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 48
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-01-26