huoxin/allow-own-discussion-rename

Force allow renaming of own discussion

v0.0.1 2025-09-30 11:34 UTC

This package is auto-updated.

Last update: 2025-09-30 14:25:11 UTC


README

English | 简体中文

License Latest Stable Version Total Downloads

This extension is a temporary workaround for flarum/framework#3692. Code logic is taken directly from Flarum Core. It allows discussion authors to rename their own discussions even when they do not have the discussion.rename permission specify by the tag restrictions.

Warning

This extension use forceAllow() to override the permission from Tags policy. This is intentional but may conflict with other permission-altering extensions.

Test fully before use.

Remove/disable this extension once you upgrade to a version that includes an official fix of the stated issue.

What it does

If the user is the discussion author and can reply. It will follow the permission set here:

image

If not it will follow to other policy such as the tag policy:

image

Installation

Install with composer:

composer require huoxin/allow-own-discussion-rename:"*"

Updating

composer update huoxin/allow-own-discussion-rename:"*"
php flarum migrate
php flarum cache:clear

Links