From e51d7f64d0c2c5eb7307d269895a701f155e237c Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Tue, 15 Nov 2022 22:32:48 +0100 Subject: [PATCH] Add `verifiedAuthor` --- pb_schema.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pb_schema.json b/pb_schema.json index daad283..05e01ce 100644 --- a/pb_schema.json +++ b/pb_schema.json @@ -437,12 +437,21 @@ ], "thumbs": null } + }, + { + "id": "fqmcoapu", + "name": "verifiedAuthor", + "type": "bool", + "system": false, + "required": false, + "unique": false, + "options": {} } ], "listRule": null, "viewRule": "", "createRule": "", - "updateRule": "id = @request.auth.id", + "updateRule": "id = @request.auth.id && @request.data.verifiedAuthor = null", "deleteRule": null, "options": { "allowEmailAuth": true,