Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Delete subscribers #122

Open
suelaP opened this issue Oct 15, 2019 · 2 comments
Open

Request: Delete subscribers #122

suelaP opened this issue Oct 15, 2019 · 2 comments

Comments

@suelaP
Copy link
Member

suelaP commented Oct 15, 2019

Short problem description

Currently, the API does not support subscriber removal.

@kniziol
Copy link

kniziol commented Oct 15, 2019

Does the goal is to create deleteAction() in SubscriberController?

@samtuke
Copy link
Collaborator

samtuke commented Oct 21, 2019

@kniziol Yes! The implementation is not as simple as deleting the subscriber from the user table. Instead the subscriber can merely be marked as blacklisted, as we should not permanently delete the preferences of a subscriber, particularly if they have opted out from future communications (we must preserve their wish).
Instead the delete procedure for each subscriber should have the same effect as this logic from phpList3: https://github.com/phpList/phplist3/blob/master/public_html/lists/admin/inc/userlib.php#L147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants