fix 按设备维度控制role分配
This commit is contained in:
@@ -45,5 +45,9 @@ public class DevicePermissionsAssignToDeviceRequest : IValidatableObject
|
||||
yield return new ValidationResult("请明确具体的厂区", new[] { nameof(TenantId) });
|
||||
}
|
||||
}
|
||||
else if (AssignType == AssignTypeEnumType.Role)
|
||||
{
|
||||
yield return new ValidationResult("暂不支持角色分配", new[] { nameof(AssignType) });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user