mirror of
https://github.com/bitwarden/server
synced 2026-01-03 00:53:37 +00:00
[SM-382] Service Account access policy checks (#2603)
The purpose of this PR is to add access policy checks to service account endpoints.
This commit is contained in:
@@ -5,6 +5,8 @@ namespace Bit.Infrastructure.EntityFramework.Models;
|
||||
public class ServiceAccount : Core.Entities.ServiceAccount
|
||||
{
|
||||
public virtual Organization Organization { get; set; }
|
||||
public virtual ICollection<GroupServiceAccountAccessPolicy> GroupAccessPolicies { get; set; }
|
||||
public virtual ICollection<UserServiceAccountAccessPolicy> UserAccessPolicies { get; set; }
|
||||
}
|
||||
|
||||
public class ServiceAccountMapperProfile : Profile
|
||||
|
||||
Reference in New Issue
Block a user