fix(supabase): V1-2.1 audit M1 M2 M3 and LOW fixes in M5
Approval needs an active sheet (lock sheet, version, round); a base only from a still-published round version; rights.mfa before rights.capability; withdrawal of a published round refused; approver separation at publish; deprecate and working copy serialised; closed codes; append-only acks; upload policy bound to the registering editor. pgTAP 017-019 added.
This commit is contained in:
1 parent
3914eaa866
commit
d05f75da84
10 files changed
+1477
-127
No files matched your search
@@ -28,8 +28,9 @@ create table auth.users (
|
||||
|
||||
-- MFA state read by the V1-2 assurance checks (private.has_aal2_session,
|
||||
-- private.has_verified_totp). Types, names and NOT NULL columns as in GoTrue
|
||||
-- v2.197.0 (checked on the pinned image by tests/sandbox/mfa.sandbox.ts);
|
||||
-- the columns the migrations never read are left out.
|
||||
-- v2.197.0 (compared with the pinned image by
|
||||
-- tests/sandbox/shim-columns.sandbox.ts); the columns the migrations never read
|
||||
-- are left out.
|
||||
create type auth.aal_level as enum ('aal1', 'aal2', 'aal3');
|
||||
create type auth.factor_type as enum ('totp', 'webauthn', 'phone', 'recovery_code');
|
||||
create type auth.factor_status as enum ('unverified', 'verified');
|
||||
|
||||
Reference in new issue
Block a user