ui for fs acl by circle

This commit is contained in:
2019-08-05 06:18:38 +02:00
parent 40c9c9bba9
commit afb5554425
11 changed files with 323 additions and 21 deletions

View File

@ -2,12 +2,14 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Yavsc.Abstract.Identity.Security;
using Yavsc.Attributes.Validation;
using Yavsc.Models.Relationship;
namespace Yavsc.Server.Models.Access
{
public class CircleAuthorizationToFile : ICircleAuthorization
{
[Required]
public long CircleId
{
@ -15,6 +17,8 @@ namespace Yavsc.Server.Models.Access
}
[Required]
[YaStringLength(48)]
[YaRegularExpression(Constants.UserFileNamePatternRegExp)]
public string FullPath
{
get; set;