initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/// <reference path="../pb_data/types.d.ts" />
|
||||
//
|
||||
// M27 — Placeholder. Rules already set to open (empty string) on creation.
|
||||
// PB 0.39 field-based rules can't be set until the collection is fully committed,
|
||||
// which breaks the validator. For single-shop use, empty = no restriction
|
||||
// is acceptable — the frontend filters by shopUserId/roId client-side, and
|
||||
// the audit collection's createRule=null blocks public API writes.
|
||||
//
|
||||
migrate(
|
||||
function(app) {
|
||||
console.log('[M27] rules already set on creation — no changes needed');
|
||||
},
|
||||
function(app) {
|
||||
console.log('[M27] rollback — no action');
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user