enigma-bbs
enigma-bbs copied to clipboard
Message area - delete message
If current user is admin or message author add option to delete current existing message from the bottom menu of view screen (or perhaps from list view as well.)
Side note: Would be nice if there were a way via ACS to change what items appear in a menu (e.g. the message view/editor in this case) by menu.hjson
alone. Not sure how to achieve this yet, but don't want to forget it :)
See also: Missing FSE functionality #29
Requirements:
- Message author / "owner" can delete by default.
- ACS checks for "always allow".
GM[sysops]
by default. Allow deleting imported messages as well in this case.
Bonus: See notes above RE ACS-specific menu items. This should be doable as a standard ACS block. For example:
items: [
{
acs : GM[sysops]
text: OP Only Menu
},
"Always Present Item",
// ...
]