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)
- Windows Edge ( arm64 ) "Grant Now" button does nothing HOT 2
- E-mail publishing, attachment limited to 4ko file size
- Add Github wiki HOT 3
- ntfy link with optional display name parameter HOT 2
- Documentation Enhancement: Add docker compose info from following issue
- [HOW] how do i get notifications when a message received when the app is terminated (flutter android) HOT 7
- Any possibility of reading a topic via ntfy cli from the past? HOT 4
- Date/time is wrong (UTC instead of local time) HOT 5
- Adding a configuration option to force sending a EVENT_MESSAGE
- Add support for SMTP AUTH_LOGIN HOT 2
- Separate notification category for service info HOT 4
- Add explicit client.yml default location for macOS install
- Instabilities with Megalodon HOT 4
- Configuring Ntfy with Nginx as a Reverse Proxy: Seeking Assistance HOT 6
- Clearing a topic's messages by using android intent?
- Android client subscribe/unsubscribe through CLI/API tools
- iOS issues when showing notifications content HOT 9
- Using PHP example from doc for publishing JSON notification sends JSON object and is not interpreted by the server HOT 4
- Add an option to remove a custom notification settings for a channel without accessing the channel on the server HOT 3
- HTML based Mail rejected HOT 1
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.