mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) add a checkbox for owner "boss mode"
Summary: Implement a checkbox that grants owners full access to tables by default, when creating new table/column rules. * Checkbox appears above default rules. * When set, a rule giving owners full access will be inserted in any new rule set started for tables or columns. * The checkbox can be expanded to allow customization of the rules. https://gristlabs.getgrist.com/doc/check-ins/p/3#a1.s7.r2251.c19 Test Plan: added tests Reviewers: jarek Reviewed By: jarek Subscribers: anaisconce Differential Revision: https://phab.getgrist.com/D3756
This commit is contained in:
@@ -134,7 +134,13 @@ export class MinIOExternalStorage implements ExternalStorage {
|
||||
}
|
||||
|
||||
public isFatalError(err: any) {
|
||||
return err.code !== 'NotFound' && err.code !== 'NoSuchKey';
|
||||
// ECONNRESET should not count as fatal:
|
||||
// https://github.com/aws/aws-sdk-js/pull/3739
|
||||
// Likewise for "We encountered an internal error. Please try again."
|
||||
// These are errors associated with the AWS S3 backend, and which
|
||||
// the AWS S3 SDK would typically handle.
|
||||
return err.code !== 'NotFound' && err.code !== 'NoSuchKey' &&
|
||||
err.code !== 'ECONNRESET' && err.code !== 'InternalError';
|
||||
}
|
||||
|
||||
public async close() {
|
||||
|
||||
Reference in New Issue
Block a user