1
0
mirror of https://github.com/bitwarden/server synced 2026-01-01 08:03:23 +00:00

[SM-380] Access checks for listing projects (#2496)

* Add project access checks for listing
This commit is contained in:
Oscar Hinton
2023-01-20 16:33:11 +01:00
committed by GitHub
parent a7c2ff9dbf
commit 5cd571df64
20 changed files with 452 additions and 69 deletions

View File

@@ -16,4 +16,7 @@ public static class Claims
// Service Account
public const string Organization = "organization";
// General
public const string Type = "type";
}

View File

@@ -0,0 +1,8 @@
namespace Bit.Core.Identity;
public enum ClientType : byte
{
User = 0,
Organization = 1,
ServiceAccount = 2,
}