refactor(storage): replace configureStorageApi with additive registration pattern

This commit is contained in:
2026-04-19 16:06:32 -04:00
parent b49cddece3
commit 692a014dd8
5 changed files with 50 additions and 12 deletions
+11
View File
@@ -0,0 +1,11 @@
/**
* Auth feature — storage access policies.
*
* Registered during initializeZen() via registerStoragePolicies().
* The auth feature owns its access rules; core/storage stays generic.
*/
export const storageAccessPolicies = [
// users/{userId}/... — seul le propriétaire ou un admin peut accéder
{ prefix: 'users', type: 'owner' },
];