'mosquitto ACL file, restrict multiple users to same topic
which is the right syntax for adding several users to same topic restriction?
for example:
user user1
topic topic1/#
user user2
topic topic1/#
or
user user1
user user2
topic topic1/#
?
Solution 1:[1]
The first option.
You need to list the topics for each user, if you have lots of users it may be easier to use a plugin to load the ACL from a database, or generate the ACL response based on a set of rules.
Solution 2:[2]
Hi I'm not sure what you want to try to do in React Native with that.Can you plz explain maybe I'll be able to help.
doument.getElementById("my-id1").innerHTML = "Some Text Here"
is not possible in react native.
You can use useState() or states in react native to do it.
Let me know if you need more information on that.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | hardillb |
| Solution 2 | Rayan Abid |
