mirror of
https://github.com/bitwarden/server
synced 2025-12-23 11:43:23 +00:00
app cache with org ability checks on events
This commit is contained in:
21
src/Core/Models/Data/OrganizationAbility.cs
Normal file
21
src/Core/Models/Data/OrganizationAbility.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Bit.Core.Models.Table;
|
||||
|
||||
namespace Bit.Core.Models.Data
|
||||
{
|
||||
public class OrganizationAbility
|
||||
{
|
||||
public OrganizationAbility() { }
|
||||
|
||||
public OrganizationAbility(Organization organization)
|
||||
{
|
||||
Id = organization.Id;
|
||||
UseEvents = organization.UseEvents;
|
||||
Enabled = organization.Enabled;
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public bool UseEvents { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user