From 81c9ca36400d1953fb834e0cf769220ccbf72a8c Mon Sep 17 00:00:00 2001 From: Kai Date: Tue, 22 Jun 2021 09:58:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=8B=BF=E6=8E=89isGod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Controllers/CompanyController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SolarPower/Controllers/CompanyController.cs b/SolarPower/Controllers/CompanyController.cs index 6e494d5..3ee404f 100644 --- a/SolarPower/Controllers/CompanyController.cs +++ b/SolarPower/Controllers/CompanyController.cs @@ -389,8 +389,8 @@ namespace SolarPower.Controllers "UpdatedBy", }; - if (myUser.IsGod == 1 || IsPlatformLayer(myUser.Role.Layer)) - { //超級使用者 或 平台人員可以修改 公司的註冊上限人數 + if (IsPlatformLayer(myUser.Role.Layer)) + { //平台人員可以修改 公司的註冊上限人數 properties.Add("RegisterUpperLimit"); }