fix error spam (#25591)

This commit is contained in:
sean-brydon
2025-12-03 19:36:05 +00:00
committed by GitHub
parent 2a7439b58d
commit ad416ac9df
@@ -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