mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #706] Topic creation restricted to one user? #518
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#518
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?
Originally created by @Zitus on GitHub (Apr 21, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/706
❓ Question
Is it possible from a web script (not having Ntfy as a private server) to create a topic where only one user can be subscribed?
Or, if it's not possible, having my own Ntfy server can I know how many subscribers a topic has, and reject or delete subscriptions if more than one?
@binwiederhier commented on GitHub (Apr 21, 2023):
Pubsub generally allows many subscribers, and ntfy does not implement subscriber limits per topic either.
Topic subscriptions are kept in memory and are not exposed in any way right now. I suggest you just create a user and reserve a topic, or you update your access controls manually to allow only the authorized user to access the topic.