Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using adas_core.Domain.Enums;
|
||||
|
||||
namespace adas_core.Domain;
|
||||
|
||||
public class Permissions
|
||||
{
|
||||
public SourcePermissions Write { get; set; } = new()
|
||||
{
|
||||
Actions = [ActionsEnum.Actions.View, ActionsEnum.Actions.Write]
|
||||
};
|
||||
|
||||
public SourcePermissions Read { get; set; } = new()
|
||||
{
|
||||
Actions = [ActionsEnum.Actions.View]
|
||||
};
|
||||
}
|
||||
|
||||
public class SourcePermissions
|
||||
{
|
||||
public List<ActionsEnum.Actions> Actions { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user