Not a final solution,dealing with 403 status codes ...
This commit is contained in:
parent
b83c1e59f7
commit
a68f7ed6a0
10 changed files with 253 additions and 81 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Security.Claims;
|
||||
using System.Security.Principal;
|
||||
using Microsoft.AspNet.FileProviders;
|
||||
|
||||
namespace Yavsc.Services
|
||||
{
|
||||
|
|
@ -23,9 +24,9 @@ namespace Yavsc.Services
|
|||
/// <param name="user"></param>
|
||||
/// <param name="normalizedFullPath"></param>
|
||||
/// <returns></returns>
|
||||
FileAccessRight GetFilePathAccess(ClaimsPrincipal user, string normalizedFullPath);
|
||||
FileAccessRight GetFilePathAccess(ClaimsPrincipal user, IFileInfo file);
|
||||
|
||||
void SetAccess (long circleId, string normalizedFullPath, FileAccessRight access);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue