定制 sheadawson/silverstripe-editlock 二次开发

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

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

sheadawson/silverstripe-editlock

Composer 安装命令:

composer require sheadawson/silverstripe-editlock

包简介

Prevents a CMS user from editing a record that another CMS user is currently editing

README 文档

README

Requirements

  • SilverStripe ~3.1

Maintainers

Description

Prevents a CMS user from editing a record that another CMS user is currently editing, to avoid change conflicts/data loss.

Screenshot

Installation

Download this module into the root of your project. The module folder must be named "editlock". Run dev/build.

Composer: require "sheadawson/silverstripe-editlock": "1.0.x"

Usage

The module will take effect on any DataObject's standard CMS edit form out of the box. A locked object will display a readonly version of the edit form and a message explaining why it's locked and who is editing it. Editing will be re-enabled a maximum of 15 seconds after the original editor has navigated away from the edit form.

If you need to restrict locking to only specific data classes, you can specify these in your yml config as below.

EditLockControllerExtension:
  lockedClasses:
    - 'BlogPost'
    - 'Article'

Edit anyway override

Users with the "edit anyway" permission are given the option to override the lock and edit the record anyway, after being made aware of the risks. This permission can be applied to user groups in the Security section of the CMS.

统计信息

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

GitHub 信息

  • Stars: 24
  • Watchers: 4
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2014-02-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固