Detect whether polls are promised to be anonymous or publicising voter identity with their cast vote #1104
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma!1104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Oneric/akkoma:poll-anon"
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?
Smithereen may (depending on the decision of the creating user)
disclose who voted and what everyone voted for. This information
is made publically available to everyone, including via ActivityPub
(eventhough the AP vote collections show some type and data
inconsistencies between the inline and standalone version at the
time of writing. It is necessary to fetch the standalone collections
for the full information.)
Smithereen does indicate whether a poll will disclose votes and voter
identies and when this is kept secret. But of course, for this info
to be visible to our users we will need to first pick up the hint
from Smithereen and forward it in our Masto API responses.
Example: https://friends.grishka.me/posts/1116518
Any reason for using different property than the one supported by pleroma-fe (
poll.pleroma.non_anonymous)?Thanks for pointing out a related property already exists as a Pleroma extension. But after looking at the Pleroma property now, it is not nullable and simply folds both "no info" and pledged anonymity into "non_anonymous = false`. Thus it cannot relay an anonymity pledge preventing verification badges like implemented in AkkomaGang/akkoma-fe#500
pleroma/pleroma@a3404e91:lib/pleroma/web/mastodon_api/views/poll_view.ex:26
So I think sticking with
akkoma.anonymous = (true|false|null)here is better and Pleroma may want to consider adopting it too deprecating the more coarsepleroma.non_anonymous = (true|false)39616b120f6ed20f1ca3