[feat] support Undo events in mrf #1075
Labels
No labels
approved, awaiting change
broken setup
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma#1075
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
if we write a custom mrf similar to this:
nothing gets logged. looking at the code it seems that the
Undoevents for some reason are excluded from the processing at all, except for the default "SimplePolicy":https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/pleroma/web/activity_pub/mrf.ex#L66-L70
(although i might be dumb and didn't understand something correctly :>)
The reasoning
this would allow adding e.g. external logging/processing of some kind to the
Undoevents, like deleted posts and un-followsHave you searched for this feature request?
this is actually fully intentional! this functionality was abused in the past to reject deletes from remote users and was removed
we ideally don't want to make it easy to misuse the system
oh lol bruh. and i guess implementing it in a way so that the custom mrfs aren't able to interfere with the default behavior isn't viable either, right?
sad
yeah it sucks a bit
but the friction is there to stop people abusing it easily - you know where the safety release is and could adjust it if you needed this functionality for something
i guess, since this is an intentional limitation this means this can be closed?