fixes the circle creation
This commit is contained in:
parent
bacd124a78
commit
597b674b74
7 changed files with 2 additions and 46 deletions
|
|
@ -15,7 +15,7 @@ namespace Yavsc.ApiControllers
|
|||
/// Maintains a collection of articles
|
||||
/// qualified with name value pairs
|
||||
/// </summary>
|
||||
public class BasketApiController : ApiController
|
||||
public class BasketController : ApiController
|
||||
{
|
||||
/// <summary>
|
||||
/// The wfmgr.
|
||||
|
|
@ -184,7 +184,7 @@ namespace Yavsc.ApiControllers
|
|||
if (model.IsApprouved)
|
||||
if (!Roles.IsUserInRole ("Admin"))
|
||||
if (!Roles.IsUserInRole ("FrontOffice")) {
|
||||
ModelState.AddModelError ("IsApprouved",
|
||||
ModelState.AddModelError ("Register",
|
||||
"Since you're not member of Admin or FrontOffice groups, " +
|
||||
"you cannot ask for a pre-approuved registration");
|
||||
return DefaultResponse ();
|
||||
Loading…
Add table
Add a link
Reference in a new issue