Browse Source

BI訊息發送access權限調整

jeff 4 months ago
parent
commit
e3e6e2ad7e
1 changed files with 0 additions and 5 deletions
  1. 0 5
      TEAMModelBI/Controllers/BICommon/BINoticeController.cs

+ 0 - 5
TEAMModelBI/Controllers/BICommon/BINoticeController.cs

@@ -300,7 +300,6 @@ namespace TEAMModelBI.Controllers.BICommon
         /// <returns></returns>
         /// <returns></returns>
         [HttpPost("get-areas")]
         [HttpPost("get-areas")]
 #if !DEBUG
 #if !DEBUG
-        [Authorize(Roles = "IES")]
         [AuthToken(Roles = "admin")]
         [AuthToken(Roles = "admin")]
 #endif
 #endif
         public async Task<IActionResult> GetAreas(JsonElement jsonElement)
         public async Task<IActionResult> GetAreas(JsonElement jsonElement)
@@ -407,7 +406,6 @@ namespace TEAMModelBI.Controllers.BICommon
         /// <returns></returns>
         /// <returns></returns>
         [HttpPost("get-geos")]
         [HttpPost("get-geos")]
 #if !DEBUG
 #if !DEBUG
-        [Authorize(Roles = "IES")]
         [AuthToken(Roles = "admin")]
         [AuthToken(Roles = "admin")]
 #endif
 #endif
         public async Task<IActionResult> GetGeos(JsonElement jsonElement)
         public async Task<IActionResult> GetGeos(JsonElement jsonElement)
@@ -783,7 +781,6 @@ namespace TEAMModelBI.Controllers.BICommon
         /// <returns></returns>
         /// <returns></returns>
         [HttpPost("get-units")]
         [HttpPost("get-units")]
 #if !DEBUG
 #if !DEBUG
-        [Authorize(Roles = "IES")]
         [AuthToken(Roles = "admin")]
         [AuthToken(Roles = "admin")]
 #endif
 #endif
         public async Task<IActionResult> GetUnitTypes(JsonElement jsonElement)
         public async Task<IActionResult> GetUnitTypes(JsonElement jsonElement)
@@ -1312,7 +1309,6 @@ namespace TEAMModelBI.Controllers.BICommon
         /// </summary>
         /// </summary>
         [HttpPost("get-tmidinfo")]
         [HttpPost("get-tmidinfo")]
 #if !DEBUG
 #if !DEBUG
-        [Authorize(Roles = "IES")]
         [AuthToken(Roles = "admin")]
         [AuthToken(Roles = "admin")]
 #endif
 #endif
         public async Task<IActionResult> GetTmidInfo(GetTmidInfoParam target)
         public async Task<IActionResult> GetTmidInfo(GetTmidInfoParam target)
@@ -1560,7 +1556,6 @@ namespace TEAMModelBI.Controllers.BICommon
         /// <param name="action">傳遞動作</param>
         /// <param name="action">傳遞動作</param>
         [HttpPost("send-message")]
         [HttpPost("send-message")]
 #if !DEBUG
 #if !DEBUG
-        [Authorize(Roles = "IES")]
         [AuthToken(Roles = "admin")]
         [AuthToken(Roles = "admin")]
 #endif
 #endif
         public async Task<IActionResult> SendMessage(JsonElement jsonElement)
         public async Task<IActionResult> SendMessage(JsonElement jsonElement)