Search by

deltamichael / mention-permissions

DeltaMike

Restrict user mentions by Flarum group permissions.

Package info

github.com/DeltaMichael/mention-permissions

Type:flarum-extension

pkg:composer/deltamichael/mention-permissions

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2026-11-08 15:27 UTC

This package is auto-updated.

Last update: 2026-11-08 15:33:40 UTC


README

A Flarum 2 extension that lets administrators prevent selected groups from mentioning other users. Post and group mentions are not affected.

Installation

After the package is published on Packagist, install it with:

composer require deltamichael/mention-permissions
php flarum extension:enable deltamichael-mention-permissions
php flarum cache:clear

Usage

Open Admin > Permissions and grant Cannot mention other users to each group that should be restricted. Users in those groups can still mention posts and groups. Administrators are exempt.

When a restricted user types a user mention manually, it remains ordinary text and does not create a mention notification.

Development

Build the admin and forum assets from the js directory:

npm install
npm run build
npm run check-typings

Commit the generated files in js/dist with source changes. Tag each Packagist release with a version such as 0.1.0.