Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

Tech

Prisma Studio is not an admin panel

If you build with Prisma, you already know Prisma Studio. Run one command and you get a clean, visual way to browse and edit rows in your database. It's genuinely useful, and I reach for it every day while developing. But somewhere between "I need to look at my data" and "I need to let a support agent safely edit a customer's record in production," Prisma Studio quietly stops being the right…

Prisma Studio is often mistaken for an admin panel, but it serves a different purpose. While a database browser displays rows, an admin panel governs them. Studio connects to your database and shows everything, without any restrictions on who can view, edit, or touch the data. In contrast, an admin panel ensures that only authorized users can perform specific actions on designated data.

The author built a package to bridge the gap between the two tools. Their package mounts a React UI and a guarded JSON API on your existing Express app. Each request goes through a series of checks: authentication, permission verification, tenant scope confirmation, validation, and finally, the Prisma mutation/query. This layered approach is crucial to prevent unauthorized access and data breaches.

Prisma Studio lacks built-in features like authentication, audit logging, and complex data manipulations, as these are not its primary focus. Instead, it emphasizes security and governance. The package supports basic CRUD operations, but does not handle nested writes, many-to-many relationships, file uploads, rich text editors, exports, or built-in audit history. The author acknowledges these limitations and suggests that heavier tools may be required for more advanced needs.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Firefox 154.0 released

Version 154.0 of the Firefox browser has been released. Changes include extending local network access protections to WebSocket connections, more flexible, per-site configuration of cookie and data…

More from Tuesday 18 August →