BotSharp/src/Infrastructure/BotSharp.Abstraction/Users/Models/UserAuthorization.cs

9 lines
246 B
C#
Raw Normal View History

2024-11-14 23:33:26 +00:00
namespace BotSharp.Abstraction.Users.Models;
public class UserAuthorization
{
public bool IsAdmin { get; set; }
public IEnumerable<string> Permissions { get; set; } = [];
public IEnumerable<string> AgentActions { get; set; } = [];
}