kdudkov / goatak

go ATAK/CivTAK fast and simple server and client
https://github.com/kdudkov/goatak/wiki
GNU Affero General Public License v3.0
112 stars 31 forks source link

Broadcasting COTs are seen from all Scopes #17

Closed kavinsky closed 6 months ago

kavinsky commented 6 months ago

Steps to reproduce:

  1. Login using WinTAK using an account with scope: scopeA
  2. Login with other device using an account with scope: scopeB
  3. Create a COT with Account A and press Broadcast.
  4. Scope B can see the broadcasted COT
kdudkov commented 6 months ago

When two clients are in the same network, they broadcast all cots via TCP broadcast if this function is not disabled. And this way they could see all messages regardless of scope.

kavinsky commented 6 months ago

As we talked, i think having the option to restrict visibility of messages by scope is a nice have. Ill close this issue and make a PR for that. Thank you.