M$ AspNet.WebApi 2.2

Testé avec mono current sous Debian Sid:

l'import AspNet.WebApi 2.2
This commit is contained in:
Paul Schneider 2016-01-04 01:40:41 +01:00
commit 1f64b48966
97 changed files with 7890 additions and 9323 deletions

View file

@ -84,10 +84,7 @@ namespace Yavsc.ApiControllers
if (est.Client != username)
if (!Roles.IsUserInRole("Admin"))
if (!Roles.IsUserInRole("FrontOffice"))
throw new AuthorizationDenied (
string.Format (
"Auth denied to eid {1} for:{2}",
id, username));
throw new AuthorizationDenied ();
return est;
}