Allow users (and ultimately other entities) to set follow acceptance to be automatic (no need to accept follow requests)

Created on 28 February 2023, over 1 year ago
Updated 1 March 2023, over 1 year ago

Problem/Motivation

As on Mastodon and other ActivityPub implementations, you should be able to choose not to "Require follow requests" and rather than "Manually control who can follow you by approving follow requests" (Mastodon's wording) automatically accept followers.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mlncn
  • πŸ‡§πŸ‡ͺBelgium swentel

    Hmm, this is the default now in the module no? Do you mean the other way, that users should manually verify and either ACCEPT or REJECT?

    Or am I missing something?

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    This may just be a misunderstanding of interface, and I am happy to update this issue to reflect this, but want to make sure we are all on the same page. Here is what I had in my notes:

    "When others follow my actor, Drupal says that these activities have not been queued or processed, but Mastodon reflects that these users are in fact followers. Drupal also says that these activities are unpublished (which I am not sure what it means to publish an activity).

    As someone with the permission to configure an individual actor's activity pub settings (though currently each user account is their own actor), I should be able to choose whether Accept activities are automatically processed, or whether they should require approval before being processed. If I have set approval to be required, I should have an intuitive interface to approve any activities requiring my approval."

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    Hmm I apologize, but may need to test this again and record the behavior. I think my notes above are only partially accurate.

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    Swentel, you are correct that this is the default behavior. mlncn and I simply were not acknowledging that this is processed on cron. I will note the behavior that I observed (which is indeed the intended behavior):
    - I follow the actor on my Drupal site from my mastodon account
    - immediately, mastodon indicates that I am a follower, though I think it is safe to say that this is an optimistic update from mastodon's part
    - when I refresh the mastodon page, I instead see that I have the opportunity to withdraw my follow request (indicating that I am actually not yet a follower)
    - I check the activity on the Drupal user, which indicates a Follow activity in the inbox, as well as an unprocessed Accept.

    - Upon running cron, this Accept activity is processed
    - when I check mastodon, mastodon properly indicates that I am a follower of the actor on the Drupal site, and gives me the option to unfollow

    When we (mlncn and I) were originally testing, I was wondering how to accept, and thought that perhaps I would need to edit the activity in order to accept. However, this is in fact working as intended, so this issue can be closed.

  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan
Production build 0.69.0 2024