Comments (5)
This is not supported right now, and there aren't any plans to add it
You could achieve something similar (at least through the API) using tags: https://docs.ntfy.sh/subscribe/api/#filter-messages
As far as I know, neither Android or iOS supports filtering by tags yet, though
from ntfy.
Thanks @wunter8 i suppose tags would not be useful for access restrictions based on that response as well so sounds like a non-starter for this design. Back to the drawing board for me.
from ntfy.
ntfy has other features for access restrictions (See access control in the docs)
What are you trying to set up? It might not be quite as convenient, but devices could just subscribe to one or more of the topics mytopic
, mytopic-group1
, and mytopic-group2
, and the publishing device can choose which topic is appropriate to publish to, right?
from ntfy.
@wunter8 something akin to user based subscriptions without having to create a new topic for every event type and maintain access control so only said user or admins could view them. Examples:
Mytopic/user1/on-message
Vs
Mytopic/user2/on-message
Cheesy example but easiest I could think of without going into the weeds
from ntfy.
As @wunter8 said, there are no plans for subtopic support. You can achieve user access for "subtopics only accessible for ..." using ACLs and patterns, e.g. `ntfy access user1 'mytopic-group1-*', but that's all. I think it's still limited and won't wor for your entire use case, though.
I'm closing this ticket since it's about nested topics, but feel free to continue talking here or on Discord/Matrix.
from ntfy.
Related Issues (20)
- Acknowledging a notification on the web interface does not extend to the Android app HOT 4
- There is no Windows version to self-host ntfy HOT 1
- Channel mute on mobile application
- Add matrix.org pushers IP adresses to the allow list, to avoid rate limiting. HOT 4
- Setting Icon in Headers (IOS) HOT 5
- Android: ntfy can be ended in the lock screen ...
- Android app shows ntfy icon at top even when there are no notifications HOT 3
- HTTPS error 50001 / http:500 / internal server error HOT 6
- Getting "ghost" messages on iOS for the past few days HOT 1
- Android app: Timestamp ignored in notifications
- New Browser Exentsion
- Postgres database option
- Multiple messages don't create new notifications on Chrome for Mac
- Timeout on topic subscription (self hosted behind Traefik) HOT 2
- ntfy filtering for mail over http
- Add webp support
- Can Firebase and Cache be disabled via the JSON payload? HOT 6
- Add utility functions to Message Templates
- Issue with Self-Hosted Ntfy Server and Self-Developed iOS Ntfy App Unable to Receive Instant Notifications
- Please remove default host from clients
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntfy.