buster/packages/server-shared/src
dal 2e04af1785
fix: address additional critical PR review comments
- Fixed permission hierarchy: full_access (5) now correctly ranks higher than viewer (3)
- Removed 'querier' role from admin permission check as it was too permissive
- Added organizationId parameter to dashboard access checks to prevent unauthorized access
- Fixed public dashboard expiry date check to verify dates are in the future
- Added cycle detection for collection permissions to prevent infinite recursion
- Fixed bulk remove permissions to correctly filter by identityIds array
- Updated date comparison to use ISO string format for PostgreSQL timestamp columns

These fixes address critical security and logic issues identified in the PR review.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 12:28:58 -06:00
..
access-controls feat(access-controls): migrate Rust access control libraries to TypeScript 2025-07-28 10:17:35 -06:00
assets fix: address additional critical PR review comments 2025-07-29 12:28:58 -06:00
chats fix tests 2025-07-23 22:53:54 -06:00
dashboards update server shared to include new types 2025-07-03 15:54:31 -06:00
dictionary theme update is working 2025-07-18 13:42:10 -06:00
message move shared to be zod v4 2025-07-10 12:16:34 -06:00
metrics lint errors done & unit tests passing 2025-07-18 16:02:24 -06:00
organization theme update is working 2025-07-18 13:42:10 -06:00
security move shared to be zod v4 2025-07-10 12:16:34 -06:00
share move around some types 2025-07-23 16:29:00 -06:00
slack feat(slack): implement scope validation and re-installation flow for BUS-1435 2025-07-17 19:54:49 +00:00
teams move shared to be zod v4 2025-07-10 12:16:34 -06:00
title move get asset types around 2025-07-24 17:41:36 -06:00
type-utilities update rules 2025-07-17 13:12:11 -06:00
user move around some types 2025-07-23 16:29:00 -06:00
index.ts feat(access-controls): migrate Rust access control libraries to TypeScript 2025-07-28 10:17:35 -06:00