1
0
mirror of https://github.com/jakeswenson/BitBetter.git synced 2023-10-10 13:36:57 +02:00

Make policies available in generated org licenses. (#56)

* Make policies available in generated org licenses.

* Change license version to current value used in BitWarden. Add info about compatibility in README file.
This commit is contained in:
accolon 2020-03-17 13:19:18 +01:00 committed by GitHub
parent 006fa1fecf
commit faf7833f44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ The following instructions are for unix-based systems (Linux, BSD, macOS), it is
## Dependencies ## Dependencies
Aside from docker, which you also need for Bitwarden, BitBetter requires the following: Aside from docker, which you also need for Bitwarden, BitBetter requires the following:
* Bitwarden (tested up to 1.32.0) * Bitwarden (tested with 1.33.0, might work on lower versions)
* openssl (probably already installed on most Linux or WSL systems, any version should work) * openssl (probably already installed on most Linux or WSL systems, any version should work)
## Setting up BitBetter ## Setting up BitBetter

View File

@ -358,6 +358,7 @@ namespace bitwardenSelfLicensor
set("PlanType", (byte)6); set("PlanType", (byte)6);
set("Seats", (short)32767); set("Seats", (short)32767);
set("MaxCollections", short.MaxValue); set("MaxCollections", short.MaxValue);
set("UsePolicies", true);
set("UseGroups", true); set("UseGroups", true);
set("UseEvents", true); set("UseEvents", true);
set("UseDirectory", true); set("UseDirectory", true);
@ -366,7 +367,7 @@ namespace bitwardenSelfLicensor
set("MaxStorageGb", short.MaxValue); set("MaxStorageGb", short.MaxValue);
set("SelfHost", true); set("SelfHost", true);
set("UsersGetPremium", true); set("UsersGetPremium", true);
set("Version", 4); set("Version", 5);
set("Issued", DateTime.UtcNow); set("Issued", DateTime.UtcNow);
set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1)); set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1));
set("Expires", DateTime.UtcNow.AddYears(100)); set("Expires", DateTime.UtcNow.AddYears(100));