ui for fs acl by circle
This commit is contained in:
parent
fbf7f5c73d
commit
6298aab179
11 changed files with 323 additions and 21 deletions
|
|
@ -8,6 +8,7 @@ namespace Yavsc
|
|||
public const string ApplicationName = "Yavsc",
|
||||
CompanyClaimType = "https://schemas.pschneider.fr/identity/claims/Company",
|
||||
UserNameRegExp = @"^[a-zA-Z][a-zA-Z0-9._-]*$",
|
||||
UserFileNamePatternRegExp = @"^([a-zA-Z0-9._-]*/)*[a-zA-Z0-9._-]+$",
|
||||
AuthorizePath = "~/authorize",
|
||||
TokenPath = "~/token",
|
||||
LoginPath = "~/signin",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue