Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungI wanted the diff, not a screenshot: a small URL-change API(24.09.2026 um 06:05 Uhr)
Sichere ProgrammierungFreeze Object Identity Before One Mutator Extract(24.09.2026 um 06:06 Uhr)
Sichere ProgrammierungRun an n8n workflow when a page's text changes(24.09.2026 um 06:12 Uhr)
Sichere ProgrammierungThe Spreadsheet That Runs Your Company (And Why That Should Worry You)(24.09.2026 um 06:12 Uhr)
Sichere ProgrammierungArchitecting an Enterprise Network on AWS Cloud WAN(24.09.2026 um 06:31 Uhr)
Sichere ProgrammierungI wanted the diff, not a screenshot: a small URL-change API(24.09.2026 um 06:05 Uhr)
Sichere ProgrammierungFreeze Object Identity Before One Mutator Extract(24.09.2026 um 06:06 Uhr)
Sichere ProgrammierungRun an n8n workflow when a page's text changes(24.09.2026 um 06:12 Uhr)
Sichere ProgrammierungThe Spreadsheet That Runs Your Company (And Why That Should Worry You)(24.09.2026 um 06:12 Uhr)
Sichere ProgrammierungArchitecting an Enterprise Network on AWS Cloud WAN(24.09.2026 um 06:31 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Authorizing Sport: Firebase + Permit.io

This is a submission for the Permit.io Authorization Challenge: Permissions Redefined NB: This article was posted after the submission deadline for the Permit.io dev challenge. Little League – Fine-Grained Authorization for C…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

This is a submission for the Permit.io Authorization Challenge: Permissions Redefined



NB: This article was posted after the submission deadline for the Permit.io dev challenge.






Little League – Fine-Grained Authorization for Casual 3-a-Side Football Matches



Finding players for a casual game of soccer can be a headache — organizing who's in, who's out, and when to start often takes more time than the actual match. I built Little League to fix that.



This simple web app allows players to queue into 3-a-side soccer matches. The first three players are assigned to Team A, and the next three to Team B, all handled automatically. Each team is given a randomly generated team name using the unique-names-generator package to add some personality and fun to each match.



Image description



Behind the scenes, Permit.io handles all fine-grained authorization to keep role-based access secure and easy to manage.






🔧 Tech Stack





  • Frontend: Angular


  • Backend: Firebase Functions


  • Database: Firebase Firestore


  • Authentication: Firebase Auth (Gmail login)


  • Authorization: Permit.io SDK (Node.js)






🎯 Project Purpose



This app demonstrates how to implement role-based authorization using Permit.io in a real-time booking scenario with Firebase handling identity and storage.






🔐 Firebase + Permit.io: A Dual I/O Model



This project uses:





  • Firebase for authentication and real-time match state


  • Permit.io for enforcing role-based permissions on the frontend and backend



Every feature tied to a user’s role is pre-checked using Permit.io’s API and SDK.






🚀 Getting Started




  • Head to the homepage and log in via Gmail

  • You’ll be automatically assigned a random display name and the "Player" role

  • After logging in, you’ll be taken to the Matches page



Image description









👥 User Roles & Permissions






🧑‍💼 Club Manager




  • Can create matches via the "+New" button

  • Can view player profiles via a nav item

  • On the Matches page: sees a View button but no booking controls



Image description



Manager - View Players






⚖️ Referee




  • Cannot create matches or see player profiles

  • Can view matches

  • On the View Match page, has access to the Match Controller where they can:


    • Modify the score


    • Update match status (e.g., Not Started, In Progress, Completed)








Referee - Match Controller






👟 Player




  • Can book in and book out of matches

  • Automatically assigned to Team A or Team B depending on queue position

  • Can see other players on a match

  • Cannot create matches or access the match controller



Player - Booking View









🔄 How Authorization Works



Every feature above is permission-guarded using Permit.io’s Node SDK. For example:




const allowed = await permit.check(userId, "create", "match");
if (!allowed) {
throw new Error("Unauthorized");
}









🧪 Live Demo



Curious to see how it all works in action?



👉 Launch the Live Demo



You can log in using Gmail — you'll automatically be assigned the Player role.



To test other roles:




  • Demo credentials for Manager and Referee are available on the homepage

  • After logging in, explore the Matches page and available actions depending on your role



Try:




  • Booking into a match as a player

  • Creating a match as a manager

  • Controlling the match state as a referee






My Journey






Using Permit.io for Authorization

SOC Incident Playbook: Vulnerability Remediation & Verification
title: Detect Exploitation - Authorizing Sport: Firebase + Permit.io
id: 3407fb2b-f0d3-482d-b42f-197a0f4bf97e
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Authorizing Sport: Firebase + " ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Authorizing Sport: Firebase + Permit.io.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Authorizing Sport: Firebase + Permit.io

Thematisch verwandte Begriffe: Authorizing, Sport, Firebase, Permitio · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96676 | A vulnerability was identified in Fast FAC1900R 20190827_2.0.2. The impa…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick