Core: [LOCK] Make locked threads read-only

Created on 10 Apr 2017  路  2Comments  路  Source: flarum/core

Posts inside locked threads are still editable by post owner.

If there was a way to make the lock thread be read-only, it would prevent editing.

Better yet, just disable/remove the edit button in the same way the reply button is unavailable.

Something I feel should be enhanced.

Flarum Reference:
https://discuss.flarum.org/d/5451-make-locked-threads-read-only

Most helpful comment

I fixed this - edits are now not allowed when a discussion is locked. Unless the actor has the right to lock/unlock the discussion: then we fall back to the "default" behavior (i.e. so that admins can still edit things). Does that make sense?

All 2 comments

I fixed this - edits are now not allowed when a discussion is locked. Unless the actor has the right to lock/unlock the discussion: then we fall back to the "default" behavior (i.e. so that admins can still edit things). Does that make sense?

Excellent. Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tobyzerner picture tobyzerner  路  4Comments

jordanjay29 picture jordanjay29  路  3Comments

jordanjay29 picture jordanjay29  路  3Comments

gingerbeardman picture gingerbeardman  路  4Comments

webpigeon picture webpigeon  路  3Comments