feat: Added "Private vaults" as a Labs feature. Can be enabled from Preferences > General > Labs (#2562)
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
import { RoleName } from '@standardnotes/domain-core'
|
||||
import { AnyFeatureDescription } from '../Feature/AnyFeatureDescription'
|
||||
import { NativeFeatureIdentifier } from '../Feature/NativeFeatureIdentifier'
|
||||
import { PermissionName } from '../Permission/PermissionName'
|
||||
|
||||
export function experimentalFeatures(): AnyFeatureDescription[] {
|
||||
return []
|
||||
return [
|
||||
{
|
||||
name: 'Private vaults',
|
||||
description: 'Private vaults allow you to store notes, files and tags into separate, encrypted vaults.',
|
||||
availableInRoles: [RoleName.NAMES.CoreUser, RoleName.NAMES.PlusUser, RoleName.NAMES.ProUser],
|
||||
identifier: NativeFeatureIdentifier.TYPES.Vaults,
|
||||
permission_name: PermissionName.Vaults,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user