定制 medienbaecker/kirby-change-uuid 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

medienbaecker/kirby-change-uuid

最新稳定版本:1.2.0

Composer 安装命令:

composer require medienbaecker/kirby-change-uuid

包简介

Change UUIDs of pages, files and users from the Kirby Panel

README 文档

README

Change UUIDs of pages, files and users directly from the Kirby Panel.

Image

Requirements

  • Kirby 5+

Installation

Composer

composer require medienbaecker/kirby-change-uuid

Manual

Download and extract this repository to /site/plugins/kirby-change-uuid.

Permissions

By default, UUID changes are disabled for all users. You can enable them per user role, per blueprint, or globally.

Per user role

Enable UUID changes for an entire role:

# site/blueprints/users/admin.yml
permissions:
  pages:
    changeUuid: true
  files:
    changeUuid: true

Note

The changeUuid permission must be set explicitly. Setting pages: true or "*": true won't affect it because Kirby's wildcard only covers core permissions, not ones added by plugins.

Per blueprint

Enable UUID changes for a specific page type:

# site/blueprints/pages/default.yml
options:
  changeUuid: true

Or control it per user role:

options:
  changeUuid:
    admin: true
    "*": false

Global default

Enable UUID changes for all pages, files and users by default:

// site/config/config.php
return [
    'medienbaecker.change-uuid.defaultPermission' => true,
];

After enabling it globally, you can still disable it for specific user roles or blueprints as shown above.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-22