Fanuc TT
& alarm Fixes
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Step.Controllers.WebApi
|
||||
public class FavoriteUserSoftkeyController : ApiController
|
||||
{
|
||||
[Route("favorite"), HttpGet]
|
||||
[WebApiAuthorize(FunctionAccess = FUNCTIONALITY_NAMES.MAINTENANCE, Action = ACTIONS.WRITE)]
|
||||
[WebApiAuthorize(FunctionAccess = FUNCTIONALITY_NAMES.USER_SOFTKEY, Action = ACTIONS.WRITE)]
|
||||
public IHttpActionResult GetFavoriteSoftkeys()
|
||||
{
|
||||
var identity = User.Identity as ClaimsIdentity;
|
||||
@@ -32,7 +32,7 @@ namespace Step.Controllers.WebApi
|
||||
}
|
||||
|
||||
[Route("favorite"), HttpPut]
|
||||
[WebApiAuthorize(FunctionAccess = FUNCTIONALITY_NAMES.MAINTENANCE, Action = ACTIONS.WRITE)]
|
||||
[WebApiAuthorize(FunctionAccess = FUNCTIONALITY_NAMES.USER_SOFTKEY, Action = ACTIONS.WRITE)]
|
||||
public IHttpActionResult PutFavoriteSoftkeys(List<uint> favoriteSoftkeyIds)
|
||||
{
|
||||
var identity = User.Identity as ClaimsIdentity;
|
||||
|
||||
Reference in New Issue
Block a user