Enable storage service for everyone
This commit is contained in:
parent
5fdfa1c632
commit
3eff5b73d2
4 changed files with 1 additions and 36 deletions
|
@ -19,7 +19,6 @@ import {
|
|||
GROUP_CREDENTIALS_KEY,
|
||||
maybeFetchNewCredentials,
|
||||
} from './services/groupCredentialFetcher';
|
||||
import { isStorageWriteFeatureEnabled } from './storage/isFeatureEnabled';
|
||||
import dataInterface from './sql/Client';
|
||||
import { toWebSafeBase64, fromWebSafeBase64 } from './util/webSafeBase64';
|
||||
import { assert, strictAssert } from './util/assert';
|
||||
|
@ -1500,12 +1499,6 @@ export async function createGroupV2({
|
|||
// Ensure we have the credentials we need before attempting GroupsV2 operations
|
||||
await maybeFetchNewCredentials();
|
||||
|
||||
if (!isStorageWriteFeatureEnabled()) {
|
||||
throw new Error(
|
||||
'createGroupV2: storage service write is not enabled. Cannot create the group'
|
||||
);
|
||||
}
|
||||
|
||||
const ACCESS_ENUM = Proto.AccessControl.AccessRequired;
|
||||
const MEMBER_ROLE_ENUM = Proto.Member.Role;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue