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.
If the user is the discussion author and can reply. It will follow the permission set here:
If not it will follow to other policy such as the tag policy:
Install with composer:
composer require huoxin/allow-own-discussion-rename:"*"composer update huoxin/allow-own-discussion-rename:"*"
php flarum migrate
php flarum cache:clear