no-more-circle-autorisation-to-file
This commit is contained in:
parent
5f12e17907
commit
6106cd4c7e
17 changed files with 2892 additions and 795 deletions
|
|
@ -1,33 +0,0 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
using Yavsc.Abstract;
|
||||
using Yavsc.Abstract.Identity.Security;
|
||||
using Yavsc.Attributes.Validation;
|
||||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc.Server.Models.Access
|
||||
{
|
||||
[Obsolete("use rules from .access files")]
|
||||
public class CircleAuthorizationToFile : ICircleAuthorization
|
||||
{
|
||||
|
||||
[Required]
|
||||
public long CircleId
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[Required]
|
||||
[YaStringLength(48)]
|
||||
[YaRegularExpression(Constants.UserFileNamePatternRegExp)]
|
||||
public string FullPath
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[ForeignKey("CircleId"), JsonIgnore]
|
||||
public virtual Circle Circle { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue