Keep shared Rule files reachable, and say when a privacy change does not save.

This commit is contained in:
adilallo committed 2026-11-09 20:05:06 -07:00
1 parent b6795c1f18
commit 63ba21c614
9 files changed
+148 -16

No files matched your search

+1
View File
@@ -69,6 +69,7 @@ export const GET = apiRoute<RouteContext>(
idOrSlug: row.ruleId,
user,
viaShareSlug: visibility === RULE_VISIBILITY.shared_by_link,
lookup: "id",
requestPath: request.nextUrl.pathname,
});
allowed = resolved != null;