fix error spam (#25591)

This commit is contained in:
sean-brydon authored and GitHub committed 2025-12-03 19:36:05 +00:00
1 parent 2a7439b58d
commit ad416ac9df
1 file changed
+1 -1
@@ -193,7 +193,7 @@ export const permissionsRouter = router({
}
if (!teamHasPBACFeature) {
throw new Error("PBAC is not enabled for this team");
return [];
}
// Check if user has permission to view roles