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:
@@ -16,4 +16,7 @@ public static class Claims
|
||||
|
||||
// Service Account
|
||||
public const string Organization = "organization";
|
||||
|
||||
// General
|
||||
public const string Type = "type";
|
||||
}
|
||||
|
||||
8
src/Core/Identity/ClientType.cs
Normal file
8
src/Core/Identity/ClientType.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Bit.Core.Identity;
|
||||
|
||||
public enum ClientType : byte
|
||||
{
|
||||
User = 0,
|
||||
Organization = 1,
|
||||
ServiceAccount = 2,
|
||||
}
|
||||
Reference in New Issue
Block a user