Prevent stats commands from showing channels not visible to users of the current channel
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 11
- Ø Merge
- 20 Std. 7 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
The stats commands display which channels are most frequented by different users. This displays certain channels on the output graph that may be hidden for users of the channel that the graph will be outputted to. A filter should occur before creating the graph that ensures the selected channels' permissions match with the permissions of the output channel.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Stats-Befehle und den Code zu lokalisieren, der deren Ausgabegraph erstellt, und untersuche anschließend, wie Kanalberechtigungen geprüft werden. Die Änderung ist abgeschlossen, wenn Kanäle, die für Benutzer des Ausgabekanals nicht sichtbar sind, vor der Erstellung des Graphen herausgefiltert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend, security
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100