Navigation überspringen
Use the “resource:permission” naming convention for better code hinting.
0:00 / 0:57

Use the “resource:permission” naming convention for better code hinting.

20.927 Aufrufe

Use the “resource:permission” naming convention for better code hinting. From our Permission Systems that Scale course with @‌DevSimplified.

9 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Travis Watson

    @traviswatson

    resource first, or permission first... why not both? 🙃

    1 Like

  • Profilbild von Sujithkumar

    @codenameJr

    @hameedraha @Hadi_raha 😅 we were always ahead!!

    1 Like

  • Profilbild von Pramod Sharma 🏗️ Frontend Architect

    @FrontendMaestro

    This pattern ages really well in larger codebases. Reads clean now, saves you from permission chaos later.

    1 Like

  • Profilbild von Grimz

    @51Grimz

    Good point and I totally agree.

  • Profilbild von con Cero

    @KIN0TH

    Abstraction is a game changer

  • Profilbild von ikraam

    @ikraamdaanis

    This is a really good tip

  • Profilbild von Ogla Sungutay🔺

    @Proclus

    Agreed.

  • Profilbild von Aleksa Mitić

    @AleksaMiti1

    Definitely implementing this with my next RBA

  • Profilbild von Aaron McAdam

    @aaronmcadam

    But why “resource:permission” over “resource_permission”?