fix: rename SuperAdmin role to Administrator in authorization
All checks were successful
Build and Deploy / build (push) Successful in 2m23s
All checks were successful
Build and Deploy / build (push) Successful in 2m23s
This commit is contained in:
@@ -36,7 +36,7 @@ public class AuthorizationService : IAuthorizationService
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SuperAdmin: همه دسترسیها
|
// SuperAdmin: همه دسترسیها
|
||||||
if (string.Equals(role, "SuperAdmin", StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(role, "Administrator", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user