mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
license verification services for user/org
This commit is contained in:
@ -260,6 +260,7 @@ globalSettings:attachment:baseDirectory={_outputDir}/core/attachments
|
||||
globalSettings:attachment:baseUrl={_url}/attachments
|
||||
globalSettings:dataProtection:directory={_outputDir}/core/aspnet-dataprotection
|
||||
globalSettings:logDirectory={_outputDir}/core/logs
|
||||
globalSettings:licenseDirectory={_outputDir}/core/licenses
|
||||
globalSettings:duo:aKey={Helpers.SecureRandomString(32, alpha: true, numeric: true)}
|
||||
globalSettings:yubico:clientId=REPLACE
|
||||
globalSettings:yubico:REPLACE");
|
||||
|
26
util/SqlUpdate/2017-08-09_00_OrgSelfHost.sql
Normal file
26
util/SqlUpdate/2017-08-09_00_OrgSelfHost.sql
Normal file
@ -0,0 +1,26 @@
|
||||
alter table [Organization] add [SelfHost] BIT NULL
|
||||
go
|
||||
|
||||
|
||||
update [Organization] set [SelfHost] = 0
|
||||
go
|
||||
|
||||
update [Organization] set [SelfHost] = 1 where PlanType = 4 or PlanType = 5
|
||||
go
|
||||
|
||||
|
||||
alter table [Organization] alter column [SelfHost] BIT NOT NULL
|
||||
go
|
||||
|
||||
|
||||
drop view [dbo].[OrganizationView]
|
||||
go
|
||||
|
||||
CREATE VIEW [dbo].[OrganizationView]
|
||||
AS
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[Organization]
|
||||
GO
|
||||
|
Reference in New Issue
Block a user